cargo deny (licenses, advisories, sources) #1089
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 (licenses, advisories, sources) | |
permissions: | |
contents: read | |
issues: write | |
on: | |
push: | |
# Check immediately if dependencies are altered | |
paths: | |
- "**/Cargo.toml" | |
# Check also at midnight each day | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
cargo-deny: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
checks: | |
- advisories | |
- bans licenses sources | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
with: | |
persist-credentials: false | |
- uses: EmbarkStudios/cargo-deny-action@8371184bd11e21dcf8ac82ebf8c9c9f74ebf7268 | |
with: | |
command: check ${{ matrix.checks }} |