Security Audit #28
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: | |
branches: | |
- main | |
paths: | |
- "**/Cargo.toml" | |
- "**/Cargo.lock" | |
- ".github/workflows/security-audit.yaml" | |
schedule: | |
- cron: "0 0 * * *" # once a day at midnight UTC | |
# NB: that cron trigger on GH actions runs only on the default branch | |
jobs: | |
security_audit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: | | |
cargo audit -D warnings |