Skip to content

Commit

Permalink
Run clippy with --frozen, ensuring that Cargo.lock is up to date
Browse files Browse the repository at this point in the history
  • Loading branch information
sosthene-nitrokey committed Sep 10, 2024
1 parent d436c7e commit ea20504
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/rust-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,13 @@ jobs:
- name: Check formatting
run: cargo fmt -- --check

- name: Fetch dependencies
run: cargo fetch --locked

- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --all-targets -p nethsm_pkcs11 -- -D warnings --no-deps
args: --all-features --frozen --all-targets -p nethsm_pkcs11 -- -D warnings --no-deps

check-windows:
runs-on: windows-latest
Expand Down

0 comments on commit ea20504

Please sign in to comment.