Skip to content

Merge pull request #76 from rodneylab/ci__update_ci_config #196

Merge pull request #76 from rodneylab/ci__update_ci_config

Merge pull request #76 from rodneylab/ci__update_ci_config #196

name: Cargo Deny
on: [push, pull_request]
permissions:
contents: read
jobs:
cargo-deny:
runs-on: ubuntu-22.04
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: EmbarkStudios/cargo-deny-action@8371184bd11e21dcf8ac82ebf8c9c9f74ebf7268 # v2.0.1
with:
command: check ${{ matrix.checks }}