Security Audit #21
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 | |
# when the action will run here both schedule and push will activate the action | |
on: | |
schedule: | |
# will be run at time 00:00 every monday | |
- cron: '0 0 * * 1' | |
# we check if push is done to .toml or .lock file | |
push: | |
paths: | |
- '**.toml' | |
- '**.lock' | |
jobs: | |
security_audit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: taiki-e/install-action@cargo-deny | |
- name: Scan for vulnerabilities | |
run: cargo deny check advisories |