Skip to content

Commit

Permalink
chore(ci): Fix cargo deny check and make output readable (#2814)
Browse files Browse the repository at this point in the history
## What ❔

- Allow new advisory (low impact; hard to fix).
- Omit printing the tree in output; because with it the output is not
readable.

## Why ❔

- Unblock CI
- Make cargo deny CI usable.
  • Loading branch information
popzxc authored Sep 6, 2024
1 parent cab13b8 commit 6db091e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/cargo-license.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ jobs:
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: EmbarkStudios/cargo-deny-action@8371184bd11e21dcf8ac82ebf8c9c9f74ebf7268 # v2.0.1
with:
command: check
command-arguments: "--hide-inclusion-graph"
4 changes: 2 additions & 2 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ ignore = [
"RUSTSEC-2022-0041", # crossbeam-utils vulnerability, dependency coming from bellman_ce
"RUSTSEC-2024-0320", # yaml_rust dependency being unmaintained, dependency in core, we should consider moving to yaml_rust2 fork
"RUSTSEC-2020-0168", # mach dependency being unmaintained, dependency in consensus, we should consider moving to mach2 fork
"RUSTSEC-2024-0370", # `cs_derive` needs to be updated to not rely on `proc-macro-error`
# all below caused by StructOpt which we still use and we should move to clap v3 instead
"RUSTSEC-2021-0145",
"RUSTSEC-2021-0139",

]

[licenses]
Expand Down Expand Up @@ -51,7 +51,7 @@ ignore = false
registries = []

[bans]
multiple-versions = "warn"
multiple-versions = "allow"
wildcards = "allow"
highlight = "all"
workspace-default-features = "allow"
Expand Down

0 comments on commit 6db091e

Please sign in to comment.