We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f464b3 commit 57f3996Copy full SHA for 57f3996
.github/workflows/audit.yaml
@@ -1,11 +1,25 @@
1
-name: Audit Check
2
-on: [pull_request]
+name: Security Audit
+on:
3
+ pull_request:
4
+ paths: Cargo.lock
5
+ push:
6
+ branches: develop
7
8
+ schedule:
9
+ - cron: '0 0 * * *'
10
11
jobs:
12
security_audit:
13
+ name: Security Audit
14
runs-on: ubuntu-latest
15
steps:
16
- uses: actions/checkout@v2
17
+ - name: Cache cargo bin
18
+ uses: actions/cache@v1
19
+ with:
20
+ path: ~/.cargo/bin
21
+ key: ${{ runner.os }}-cargo-audit-v0.11.2
22
- uses: actions-rs/audit-check@v1
23
with:
24
+ args: --ignore RUSTSEC-2019-0031
25
token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments