Skip to content

Commit 41a653a

Browse files
authored
CI: update security-audit config (#1144)
1 parent ca3d1c2 commit 41a653a

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/security-audit.yml

+9-5
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,18 @@ name: Security Audit
22

33
on:
44
pull_request:
5-
paths: Cargo.lock
5+
paths:
6+
- .github/workflows/security-audit.yml
7+
- Cargo.lock
68
push:
79
branches: master
8-
paths: Cargo.lock
10+
paths:
11+
- .github/workflows/security-audit.yml
12+
- Cargo.lock
913
schedule:
1014
- cron: "0 0 * * *"
1115

12-
permissions: # added using https://github.com/step-security/secure-repo
16+
permissions: # added using https://github.com/step-security/secure-repo
1317
contents: read
1418

1519
jobs:
@@ -26,7 +30,7 @@ jobs:
2630
uses: actions/cache@v4
2731
with:
2832
path: ~/.cargo/bin
29-
key: ${{ runner.os }}-cargo-audit-v0.12.0
30-
- uses: actions-rs/audit-check@v1
33+
key: ${{ runner.os }}-cargo-audit-v0.21.1
34+
- uses: rustsec/audit-check@v2
3135
with:
3236
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)