Release 0.4.0 #45
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: Check licenses and sources | |
on: | |
pull_request: | |
workflow_dispatch: | |
env: | |
RUSTFLAGS: -D warnings | |
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: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- name: Install cargo make | |
uses: davidB/rust-cargo-make@v1 | |
- name: Install stable toolchain | |
run: cargo make install-stable | |
- name: run cargo deny | |
uses: EmbarkStudios/cargo-deny-action@v1 | |
with: | |
command: check ${{ matrix.checks }} |