Skip to content

Commit

Permalink
CI: fix security audit (#884)
Browse files Browse the repository at this point in the history
Busts the cache key so we use a newer version of `cargo-audit`
  • Loading branch information
tarcieri authored Jan 19, 2025
1 parent 1d3a1d1 commit c9eabf7
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/security-audit.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
name: Security Audit
on:
pull_request:
paths: Cargo.lock
paths:
- .github/workflows/security-audit.yml
- Cargo.lock
push:
branches: master
paths: Cargo.lock
paths:
- .github/workflows/security-audit.yml
- Cargo.lock
schedule:
- cron: "0 0 * * *"

Expand All @@ -20,7 +24,7 @@ jobs:
- uses: actions/cache@v4
with:
path: ~/.cargo/bin
key: ${{ runner.os }}-cargo-audit-v0.17.4
key: ${{ runner.os }}-cargo-audit-v0.21.1
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c9eabf7

Please sign in to comment.