Skip to content

Commit e584926

Browse files
committed
ci: add cargo audit
1 parent 2bd79d7 commit e584926

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/security.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,20 @@ jobs:
3333
- uses: gitleaks/gitleaks-action@ff98106e4c7b2bc287b24eaf42907196329070c7 # v2.3.9
3434
env:
3535
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
37+
cargo-audit:
38+
name: cargo-audit
39+
runs-on: ubuntu-latest
40+
41+
steps:
42+
- name: Checkout repository
43+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
44+
45+
- name: Setup Rust
46+
uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b # stable
47+
48+
- name: Install cargo-audit
49+
run: cargo install cargo-audit
50+
51+
- name: Run cargo audit
52+
run: cargo audit

0 commit comments

Comments
 (0)