Skip to content

Commit 4128f6b

Browse files
committed
Add cargo deny
1 parent e069b0e commit 4128f6b

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,3 +205,10 @@ jobs:
205205
uses: lycheeverse/lychee-action@v1.0.8
206206
with:
207207
args: --verbose --no-progress "**/*.md" "**/*.rs" "Cargo.toml" "**/Cargo.toml" -h accept=text/html
208+
209+
cargo-deny:
210+
name: Cargo Deny
211+
runs-on: ubuntu-latest
212+
steps:
213+
- uses: actions/checkout@v2
214+
- uses: EmbarkStudios/cargo-deny-action@v1

deny.toml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
targets = [
2+
{ triple = "thumbv7em-none-eabihf" },
3+
]
4+
5+
[advisories]
6+
# A list of advisory IDs to ignore. Note that ignored advisories will still
7+
# output a note when they are encountered.
8+
ignore = [
9+
# This only affects unix devices
10+
"RUSTSEC-2020-0159",
11+
]
12+
13+
[licenses]
14+
allow = [
15+
"MIT",
16+
"Apache-2.0",
17+
"0BSD"
18+
]

0 commit comments

Comments
 (0)