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