Skip to content

Commit 70f66b0

Browse files
authored
CI: bump cargo-audit to v0.20 (#1695)
1 parent e0a0486 commit 70f66b0

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/security-audit.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: Security Audit
22
on:
33
pull_request:
4-
paths: '**/Cargo.lock'
4+
paths:
5+
- .github/workflows/security-audit.yml
6+
- '**/Cargo.lock'
57
push:
68
branches: master
79
paths: '**/Cargo.lock'
@@ -18,7 +20,7 @@ jobs:
1820
uses: actions/cache@v4
1921
with:
2022
path: ~/.cargo/bin
21-
key: ${{ runner.os }}-cargo-audit-v0.12.0
23+
key: ${{ runner.os }}-cargo-audit-v0.20
2224
- uses: actions-rs/audit-check@v1
2325
with:
2426
token: ${{ secrets.GITHUB_TOKEN }}
@@ -35,7 +37,7 @@ jobs:
3537
uses: actions/cache@v4
3638
with:
3739
path: ~/.cargo/bin
38-
key: ${{ runner.os }}-cargo-audit-v0.12.0
40+
key: ${{ runner.os }}-cargo-audit-v0.20
3941
- uses: actions-rs/audit-check@v1
4042
with:
4143
token: ${{ secrets.GITHUB_TOKEN }}
@@ -52,7 +54,7 @@ jobs:
5254
uses: actions/cache@v4
5355
with:
5456
path: ~/.cargo/bin
55-
key: ${{ runner.os }}-cargo-audit-v0.12.0
57+
key: ${{ runner.os }}-cargo-audit-v0.20
5658
- uses: actions-rs/audit-check@v1
5759
with:
5860
token: ${{ secrets.GITHUB_TOKEN }}
@@ -69,7 +71,7 @@ jobs:
6971
uses: actions/cache@v4
7072
with:
7173
path: ~/.cargo/bin
72-
key: ${{ runner.os }}-cargo-audit-v0.12.0
74+
key: ${{ runner.os }}-cargo-audit-v0.20
7375
- uses: actions-rs/audit-check@v1
7476
with:
7577
token: ${{ secrets.GITHUB_TOKEN }}
@@ -86,7 +88,7 @@ jobs:
8688
uses: actions/cache@v4
8789
with:
8890
path: ~/.cargo/bin
89-
key: ${{ runner.os }}-cargo-audit-v0.12.0
91+
key: ${{ runner.os }}-cargo-audit-v0.20
9092
- uses: actions-rs/audit-check@v1
9193
with:
9294
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)