enable but ignore certain audits

This commit is contained in:
Stephan Dilly 2021-11-24 13:53:21 +01:00
parent 4d05dea4a6
commit 3bc4feb2ac
2 changed files with 15 additions and 12 deletions

6
.cargo/audit.toml Normal file
View File

@ -0,0 +1,6 @@
[advisories]
ignore = [
# see https://github.com/extrawurst/gitui/issues/951
"RUSTSEC-2020-0159",
# see https://github.com/extrawurst/gitui/issues/950
"RUSTSEC-2020-0071"]

View File

@ -142,18 +142,15 @@ jobs:
components: rustfmt
- run: cargo fmt -- --check
# TODO: enable again once we have these two fixed:
# https://github.com/extrawurst/gitui/issues/950
# https://github.com/extrawurst/gitui/issues/951
#
# sec:
# name: Security audit
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions-rs/audit-check@v1
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
sec:
name: Security audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
log-test:
name: Changelog Test