From 8f9b0d724269658ba1d506442302cc7c994b5453 Mon Sep 17 00:00:00 2001 From: FabianLars Date: Wed, 15 Nov 2023 10:39:14 +0100 Subject: [PATCH] ci: replace audit-rs with cargo cli --- .github/workflows/format.yml | 6 ++---- .github/workflows/lint.yml | 7 ++----- .github/workflows/test.yml | 5 +---- 3 files changed, 5 insertions(+), 13 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 646e625..4cce91b 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -23,7 +23,5 @@ jobs: with: components: rustfmt - - uses: actions-rs/cargo@v1 - with: - command: fmt - args: --manifest-path=Cargo.toml --all -- --check + - name: Run formatter + run: cargo fmt --manifest-path=Cargo.toml --all -- --check diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 5ea52e3..4752cb1 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -31,8 +31,5 @@ jobs: with: components: clippy - - uses: actions-rs/clippy-check@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - args: --manifest-path=Cargo.toml --all-targets --all-features -- -D warnings - name: clippy + - name: Run clippy + run: cargo clippy --manifest-path=Cargo.toml --all-targets --all-features -- -D warnings diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 15480b5..fb04fcf 100755 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,7 +37,4 @@ jobs: uses: Swatinem/rust-cache@v2 - name: Run tests - uses: actions-rs/cargo@v1 - with: - command: test - args: --manifest-path=Cargo.toml --release + run: cargo test --manifest-path=Cargo.toml --release