Skip to content

cargo-deny

cargo-deny #1778

Workflow file for this run

name: cargo-deny
on:
push:
branches: [ "main" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
schedule:
- cron: '0 0 * * *'
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
with:
submodules: recursive
- run: make preparation
- uses: EmbarkStudios/cargo-deny-action@v2
with:
command: check ${{ matrix.checks }}