Skip to content

Commit d02b1ea

Browse files
author
Ariel Ben-Yehuda
committed
ci: cargo audit on CI
1 parent 88573e2 commit d02b1ea

File tree

2 files changed

+120
-65
lines changed

2 files changed

+120
-65
lines changed

.github/workflows/audit.yml

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

0 commit comments

Comments
 (0)