Skip to content

Enable trivy scan in CI #1697

Enable trivy scan in CI

Enable trivy scan in CI #1697

Workflow file for this run

name: cargo-deny
on: [push, pull_request]
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@v1
with:
command: check ${{ matrix.checks }}