File tree 2 files changed +33
-0
lines changed
2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,21 @@ defaults:
14
14
shell : bash
15
15
16
16
jobs :
17
+ cargo-deny :
18
+ runs-on : ubuntu-latest
19
+ strategy :
20
+ matrix :
21
+ checks :
22
+ - advisories
23
+ - bans licenses sources
24
+ # Prevent sudden announcement of a new advisory from failing ci:
25
+ continue-on-error : ${{ matrix.checks == 'advisories' }}
26
+ steps :
27
+ - uses : actions/checkout@v4
28
+ - uses : EmbarkStudios/cargo-deny-action@v2
29
+ with :
30
+ command : check ${{ matrix.checks }}
31
+
17
32
check :
18
33
name : Check
19
34
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change
1
+ [graph ]
2
+ targets = [
3
+ " x86_64-unknown-none" ,
4
+ " aarch64-unknown-none-softfloat" ,
5
+ " riscv64gc-unknown-none-elf" ,
6
+ ]
7
+ all-features = true
8
+
9
+ [licenses ]
10
+ allow = [
11
+ " 0BSD" ,
12
+ " Apache-2.0" ,
13
+ " MIT" ,
14
+ " MPL-2.0" ,
15
+ " ISC" ,
16
+ " Unicode-3.0" ,
17
+ ]
18
+ confidence-threshold = 1.0
You can’t perform that action at this time.
0 commit comments