Skip to content

Commit 190750c

Browse files
committed
ci: add audit check
1 parent c2c78de commit 190750c

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: 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/[email protected]
78+
with:
79+
token: ${{ secrets.GITHUB_TOKEN }}
80+
6781
wasm:
6882
name: WebAssembly
6983
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)