Skip to content

Commit

Permalink
CI: bump cargo-audit to v0.20 (#1695)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri authored Oct 12, 2024
1 parent e0a0486 commit 70f66b0
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/security-audit.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Security Audit
on:
pull_request:
paths: '**/Cargo.lock'
paths:
- .github/workflows/security-audit.yml
- '**/Cargo.lock'
push:
branches: master
paths: '**/Cargo.lock'
Expand All @@ -18,7 +20,7 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.cargo/bin
key: ${{ runner.os }}-cargo-audit-v0.12.0
key: ${{ runner.os }}-cargo-audit-v0.20
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -35,7 +37,7 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.cargo/bin
key: ${{ runner.os }}-cargo-audit-v0.12.0
key: ${{ runner.os }}-cargo-audit-v0.20
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -52,7 +54,7 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.cargo/bin
key: ${{ runner.os }}-cargo-audit-v0.12.0
key: ${{ runner.os }}-cargo-audit-v0.20
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -69,7 +71,7 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.cargo/bin
key: ${{ runner.os }}-cargo-audit-v0.12.0
key: ${{ runner.os }}-cargo-audit-v0.20
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -86,7 +88,7 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.cargo/bin
key: ${{ runner.os }}-cargo-audit-v0.12.0
key: ${{ runner.os }}-cargo-audit-v0.20
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 70f66b0

Please sign in to comment.