From f2473229a9da69e71b6c957636eb3ff208d35c6d Mon Sep 17 00:00:00 2001 From: Richard Zak Date: Sat, 2 Mar 2024 14:15:38 -0500 Subject: [PATCH] ci: don't use the unmaintained `actions-rs` actions Signed-off-by: Richard Zak --- .github/workflows/lint.yml | 10 ++-------- .github/workflows/test.yml | 5 +---- 2 files changed, 3 insertions(+), 12 deletions(-) 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