Skip to content

Commit df11207

Browse files
authored
Merge pull request #488 from CosminPerRam/ci/audit
ci: add audit check
2 parents c2c78de + a8872d7 commit df11207

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,20 @@ jobs:
6464
- run: cargo doc --all-features
6565
- run: cargo clippy --all-features -- -D warnings
6666

67+
audit:
68+
name: Security Audit
69+
runs-on: ubuntu-latest
70+
steps:
71+
- uses: actions/checkout@v4
72+
73+
- name: Generate Cargo.lock # explicitly generate the lockfile, see https://github.com/rustsec/audit-check/issues/27
74+
run: cargo generate-lockfile
75+
76+
- name: Audit Check
77+
uses: rustsec/audit-check@v2.0.0
78+
with:
79+
token: ${{ secrets.GITHUB_TOKEN }}
80+
6781
wasm:
6882
name: WebAssembly
6983
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)