File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,18 @@ name: Security Audit
22
33on :
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
1519jobs :
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 }}
You can’t perform that action at this time.
0 commit comments