Skip to content

Commit ba764f3

Browse files
authored
initial version of cargo-deny (#931)
This is ready now. Should prevent further crate duplication.
1 parent cf527d0 commit ba764f3

11 files changed

Lines changed: 435 additions & 173 deletions

File tree

.github/workflows/rust.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,21 @@ jobs:
2525
- run: rustup update
2626
- run: cargo fmt --all --check
2727

28+
cargo-deny:
29+
runs-on: ubuntu-latest
30+
strategy:
31+
matrix:
32+
checks:
33+
- advisories
34+
- bans licenses sources
35+
# Prevent sudden announcement of a new advisory from failing ci:
36+
continue-on-error: ${{ matrix.checks == 'advisories' }}
37+
steps:
38+
- uses: actions/checkout@v3
39+
- uses: EmbarkStudios/cargo-deny-action@e0a440755b184aa50374330fa75cca0f84fcb59a
40+
with:
41+
command: check ${{ matrix.checks }}
42+
2843
rust-analyzer-compat:
2944
runs-on: ubuntu-latest
3045
steps:

0 commit comments

Comments
 (0)