Skip to content

Commit

Permalink
initial version of cargo-deny (#931)
Browse files Browse the repository at this point in the history
This is ready now. Should prevent further crate duplication.
  • Loading branch information
graydon authored May 4, 2023
1 parent cf527d0 commit ba764f3
Show file tree
Hide file tree
Showing 11 changed files with 435 additions and 173 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,21 @@ jobs:
- run: rustup update
- run: cargo fmt --all --check

cargo-deny:
runs-on: ubuntu-latest
strategy:
matrix:
checks:
- advisories
- bans licenses sources
# Prevent sudden announcement of a new advisory from failing ci:
continue-on-error: ${{ matrix.checks == 'advisories' }}
steps:
- uses: actions/checkout@v3
- uses: EmbarkStudios/cargo-deny-action@e0a440755b184aa50374330fa75cca0f84fcb59a
with:
command: check ${{ matrix.checks }}

rust-analyzer-compat:
runs-on: ubuntu-latest
steps:
Expand Down
Loading

0 comments on commit ba764f3

Please sign in to comment.