Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

cargo-deny

cargo-deny #996

Workflow file for this run

name: cargo-deny
on:
push:
paths-ignore:
- "**.md"
pull_request:
paths-ignore:
- "**.md"
schedule:
- cron: '0 0 * * *'
permissions:
contents: read
jobs:
cargo-deny:
runs-on: ubuntu-latest
strategy:
matrix:
checks:
- advisories
- sources
- bans
# Prevent sudden announcement of a new advisory from failing ci:
continue-on-error: ${{ matrix.checks == 'sources' }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- run: git config --global http.postBuffer 524288000
- run: git config --global http.sslVerify "false"
- run: git submodule update --init --recursive --depth 1
- run: bash sh_script/pre-build.sh
- uses: EmbarkStudios/cargo-deny-action@30f817c6f72275c6d54dc744fbca09ebc958599f # v2.0.12
with:
command: check ${{ matrix.checks }}