diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a2936880..6603f174 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,15 +8,9 @@ jobs: - name: Setup Rust toolchain run: rustup show - name: cargo fmt - uses: actions-rs/cargo@v1 - with: - command: fmt - args: -- --check + run: cargo fmt -- --check - name: cargo clippy - uses: actions-rs/cargo@v1 - with: - command: clippy - args: --workspace + run: cargo clippy --workspace --all-features --tests -- -D warnings nix-fmt: name: nix fmt diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 668677a7..439dd1c5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,4 @@ jobs: - name: Setup Rust toolchain run: rustup show - name: cargo test - uses: actions-rs/cargo@v1 - with: - command: test - args: --workspace + run: cargo test --workspace