Skip to content

Commit f954801

Browse files
committed
ci: add cargo audit workflow
Signed-off-by: Pau Capdevila <pau@githedgehog.com>
1 parent 563b2e9 commit f954801

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/cargo-audit.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Cargo Audit
2+
3+
on:
4+
push:
5+
paths:
6+
- '**/Cargo.toml'
7+
- '**/Cargo.lock'
8+
pull_request:
9+
paths:
10+
- '**/Cargo.toml'
11+
- '**/Cargo.lock'
12+
13+
jobs:
14+
audit:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: dtolnay/rust-toolchain@stable
19+
- name: Install cargo-audit
20+
run: cargo install cargo-audit
21+
- name: Run cargo audit
22+
run: cargo audit

0 commit comments

Comments
 (0)