Security audit #2219
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': | |
push: | |
paths: | |
# Run if workflow changes | |
- '.github/workflows/audit.yml' | |
# Run on changed dependencies | |
- '**/Cargo.toml' | |
- '**/Cargo.lock' | |
# Run if the configuration file changes | |
- '**/audit.toml' | |
# Rerun periodicly to pick up new advisories | |
schedule: | |
- cron: '43 05 * * *' | |
# Run manually | |
workflow_dispatch: | |
jobs: | |
security_audit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: rustsec/audit-check@v1.4.1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} |