Skip to content

Commit

Permalink
chore(ci): run cargo-audit for checking vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Feb 12, 2022
1 parent d4cbb85 commit cfe41fe
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .cargo/audit.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[advisories]
ignore = [
"RUSTSEC-2020-0159", # `chrono` localtime_r segfault
]

[output]
quiet = false
deny = ["warnings"]
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,14 @@ jobs:
args: --exclude "%7Busername%7D|file:///|https://datatracker.ietf.org" -v *.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

audit:
name: Audit check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run cargo-audit
uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit cfe41fe

Please sign in to comment.