Turn compile errors into fatal errors (#14388) #1246
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Security audit | |
on: | |
pull_request: | |
paths: | |
- '**/Cargo.toml' | |
- '**/Cargo.lock' | |
push: | |
branches: | |
- main | |
env: | |
RUST_BACKTRACE: 1 | |
CARGO_TERM_COLOR: always | |
CLICOLOR: 1 | |
jobs: | |
security_audit: | |
runs-on: ubuntu-latest | |
# Prevent sudden announcement of a new advisory from failing ci: | |
continue-on-error: true | |
steps: | |
- uses: actions/checkout@v4.1.7 | |
- uses: rustsec/audit-check@v2.0.0 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} |