CI: Add tpm cmd test case #89
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-ignore: | |
- "**.md" | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
jobs: | |
cargo-deny: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
checks: | |
- advisories | |
- sources | |
- bans | |
# Prevent sudden announcement of a new advisory from failing ci: | |
continue-on-error: ${{ matrix.checks == 'sources' }} | |
steps: | |
- uses: actions/checkout@v4 | |
- run: git submodule update --init --recursive | |
- run: bash sh_script/pre-build.sh | |
- uses: EmbarkStudios/cargo-deny-action@v1 | |
with: | |
command: check ${{ matrix.checks }} |