Skip to content

Commit

Permalink
👷 Add cargo-deny (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
liamwh committed Jan 4, 2024
1 parent 6b6aa2f commit 29106e9
Show file tree
Hide file tree
Showing 3 changed files with 955 additions and 490 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,22 @@ jobs:
with:
name: code-coverage-report
path: cobertura.xml

cargo-deny:
name: 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@v1
with:
command: check ${{ matrix.checks }}
Loading

0 comments on commit 29106e9

Please sign in to comment.