Skip to content

Commit

Permalink
feat(ci): adds cargo audit workflow (gakonst#1318)
Browse files Browse the repository at this point in the history
* feat(ci): adds cargo audit workflow

* feat(audit): ignore serde_cbor dev-dependency
  • Loading branch information
Genysys authored May 27, 2022
1 parent 7b9503c commit b3c3870
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .cargo/audit.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[advisories]
ignore = [
"RUSTSEC-2021-0127", # serde_cbor dependency through the criterion dev-dependency
]
14 changes: 14 additions & 0 deletions .github/workflows/audit-on-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Security audit
on:
push:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
jobs:
security_audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit b3c3870

Please sign in to comment.