Skip to content

modify: use deny-cargo for auditing #4

modify: use deny-cargo for auditing

modify: use deny-cargo for auditing #4

Workflow file for this run

name: Security Audit
on:
# Schedule daily updates.
schedule: [ { cron: "0 0 * * *" } ]
# (optional) Run workflow manually.
workflow_dispatch:
# (optional) Run workflow when pushing on master.
push:
paths:
- "**/Cargo.toml"
- "**/Cargo.lock"
pull_request:
jobs:
audit:
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:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout
uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@v1
with:
command: check ${{ matrix.checks }}