Skip to content

Commit

Permalink
ci: add --locked to cargo-audit install
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Storopoli <[email protected]>
  • Loading branch information
storopoli committed Nov 29, 2024
1 parent 24a02aa commit 34a660a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ jobs:
cache-on-failure: true

- name: Install cargo-audit
run: cargo install cargo-audit --force
run: cargo install --locked cargo-audit --force

# HACK: not denying warnings as we depend on `yaml-rust` via `format-serde-error` which is unmaintained
# HACK: not denying warnings as we depend on `yaml-rust` via `format-serde-error`
# which is unmaintained
- name: Check for audit warnings
run: cargo audit -D warnings
continue-on-error: true
Expand Down

0 comments on commit 34a660a

Please sign in to comment.