We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99a2571 commit 148c361Copy full SHA for 148c361
.github/workflows/ci.yml
@@ -34,6 +34,26 @@ jobs:
34
command: check
35
36
37
+ deny:
38
+ name: deny
39
+ runs-on: ubuntu-latest
40
+ strategy:
41
+ matrix:
42
+ checks:
43
+ - advisories
44
+ - bans licenses sources
45
+
46
+ # Prevent sudden announcement of a new advisory from failing ci:
47
+ continue-on-error: ${{ matrix.checks == 'advisories' }}
48
49
+ steps:
50
+ - uses: actions/checkout@v3
51
+ - name: cargo-deny
52
+ uses: EmbarkStudios/cargo-deny-action@v1
53
+ with:
54
+ command: check ${{ matrix.checks }}
55
56
57
fmt:
58
name: format
59
runs-on: ubuntu-latest
@@ -59,6 +79,7 @@ jobs:
79
if: ${{ success() }}
60
80
needs:
61
81
- check
82
+ - deny
62
83
- fmt
63
84
64
85
steps:
0 commit comments