Skip to content

Merge pull request #70 from rodneylab/ci__update_ci_config #176

Merge pull request #70 from rodneylab/ci__update_ci_config

Merge pull request #70 from rodneylab/ci__update_ci_config #176

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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: EmbarkStudios/cargo-deny-action@3f4a782664881cf5725d0ffd23969fcce89fd868 # v1.6.3
with:
command: check ${{ matrix.checks }}