Skip to content

Commit

Permalink
chore(gh): add cargo-deny-checker to GH workflows (#1220)
Browse files Browse the repository at this point in the history
  • Loading branch information
mchenani authored Nov 4, 2024
1 parent f64a31c commit 4c0a555
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/cargo-deny-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Cargo-Deny Checker
on: [push, pull_request]

jobs:
cargo-deny:
runs-on: warp-ubuntu-latest-x64-16x
strategy:
matrix:
checks:
- advisories
- bans
- licenses
- sources

steps:
- uses: actions/checkout@v3
- uses: EmbarkStudios/cargo-deny-action@v1
with:
command: check ${{ matrix.checks }}

# Prevent sudden announcement of a new advisory from failing CI
continue-on-error: ${{ matrix.checks == 'advisories' }}

0 comments on commit 4c0a555

Please sign in to comment.