Skip to content

Commit

Permalink
chore: fix errors on cargo-deny
Browse files Browse the repository at this point in the history
Use the latest version and use the GitHub Action for it.
  • Loading branch information
vmx committed Sep 30, 2024
1 parent b321afc commit d6a1d18
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,14 +122,8 @@ jobs:
- name: Install Rust Toolchain
uses: dtolnay/rust-toolchain@stable

- name: Install cargo-deny
uses: taiki-e/install-action@v2
with:
tool: cargo-deny

- name: Cargo Deny - Check
run: cargo deny check
shell: bash
uses: EmbarkStudios/cargo-deny-action@v1

# todo: run on all crates
cargo-hack-codetable:
Expand Down
6 changes: 0 additions & 6 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ ignore = [
# 1. serde_cbor is unmaintained
"RUSTSEC-2021-0127"
]
notice = "deny"
unmaintained = "warn"
vulnerability = "deny"
yanked = "deny"

[licenses]
allow = [
Expand All @@ -24,9 +20,7 @@ allow = [
"MIT",
"Unicode-DFS-2016",
]
default = "deny"
confidence-threshold = 1.0
unlicensed = "deny"

[bans]
allow = []
Expand Down

0 comments on commit d6a1d18

Please sign in to comment.