Allow to build without pulling git-version and concat_const #48
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: | |
paths: | |
- 'Cargo.toml' | |
- 'Cargo.lock' | |
- 'deny.toml' | |
- '.github/workflows/cargo-deny.yml' | |
pull_request: | |
paths: | |
- 'Cargo.toml' | |
- 'Cargo.lock' | |
- 'deny.toml' | |
- '.github/workflows/cargo-deny.yml' | |
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@v4 | |
- uses: EmbarkStudios/cargo-deny-action@v1 | |
with: | |
command: check ${{ matrix.checks }} | |
rust-version: "1.78.0" |