Skip to content

remove unnecessary import paths on test code #324

remove unnecessary import paths on test code

remove unnecessary import paths on test code #324

Workflow file for this run

name: Linter and unit tests
on: [push]
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
steps:
- name: "Checkout"
uses: actions/checkout@v3
- name: "Setup"
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
components: rustfmt, clippy
- name: "Format check"
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check
- name: "Linter checks"
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-features --all-targets -- --deny "clippy::all"
- name: "Check"
uses: actions-rs/cargo@v1
with:
command: check
args: --all-features --all-targets
- name: "Test"
uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --all-targets