Skip to content

Commit 24c6cab

Browse files
committed
Introduce CI workflow running cargo audit
In order to continuously monitor our dependencies for security vulnerabilities, we introduce a new CI job that will use `cargo audit` to check for any known vulnerabilities. This job is run on a daily schedule, or whenever a `Cargo.toml` file is changed. For each new advisory, a new issue will be created.
1 parent 51d9ee3 commit 24c6cab

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/audit.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Security audit
2+
on:
3+
schedule:
4+
- cron: '0 0 * * *'
5+
push:
6+
paths:
7+
- '**/Cargo.toml'
8+
- '**/Cargo.lock'
9+
jobs:
10+
security_audit:
11+
runs-on: [ubuntu-latest, macos-latest]
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: rustsec/[email protected]
15+
with:
16+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)