Skip to content

Commit

Permalink
chore: Add cargo-deny
Browse files Browse the repository at this point in the history
  • Loading branch information
lu-zero committed Dec 26, 2024
1 parent 9303a6a commit 3bf5004
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/wot-serve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:

jobs:
clippy-rustfmt:

runs-on: ubuntu-latest

steps:
Expand All @@ -34,7 +33,6 @@ jobs:
reporter: github-pr-review

build-test:

runs-on: ubuntu-latest

steps:
Expand All @@ -54,8 +52,13 @@ jobs:
- name: Generate docs
run: cargo doc --no-deps

code-coverage:
cargo-deny:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@v2

code-coverage:
runs-on: ubuntu-latest

steps:
Expand Down
11 changes: 11 additions & 0 deletions deny.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[advisories]
version = 2

[bans]
multiple-versions = "deny"

[licenses]
version = 2
# We want really high confidence when inferring licenses from text
confidence-threshold = 0.93
allow = ["Apache-2.0", "MIT", "BSD-3-Clause", "Zlib", "Unicode-3.0"]

0 comments on commit 3bf5004

Please sign in to comment.