Build extra CI scenarios #29
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: cargo deny | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- '**/Cargo.toml' | |
- '**/Cargo.lock' | |
- '.github/workflows/deny.yml' | |
pull_request: | |
branches: [ main ] | |
paths: | |
- '**/Cargo.toml' | |
- '**/Cargo.lock' | |
- '.github/workflows/deny.yml' | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
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@v2 | |
- uses: EmbarkStudios/cargo-deny-action@v1 | |
with: | |
command: check ${{ matrix.checks }} | |
arguments: --all-features |