Configure cargo-deny

pull/14/head
Dominik Nakamura 3 years ago
parent a1841ccb04
commit 7cc5d7d65b
No known key found for this signature in database
GPG Key ID: E4C6A749B2491910

@ -72,3 +72,19 @@ jobs:
with:
command: clippy
args: --all-features -- -D warnings
cargo-deny:
name: Cargo Deny
runs-on: ubuntu-latest
strategy:
matrix:
checks:
- advisories
- bans licenses sources
continue-on-error: ${{ matrix.checks == 'advisories' }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Check ${{ matrix.checks }}
uses: EmbarkStudios/cargo-deny-action@v1
with:
command: check ${{ matrix.checks }}

@ -0,0 +1,2 @@
[licenses]
allow-osi-fsf-free = "both"
Loading…
Cancel
Save