audit #630
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: audit | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
push: | |
branches: [ main ] | |
pull_request: | |
paths: | |
- '.github/workflows/audit.yml' | |
- 'deny.toml' | |
- 'Cargo.toml' | |
- '**/Cargo.toml' | |
- 'Cargo.lock' | |
- '**/Cargo.lock' | |
branches: [ main ] | |
jobs: | |
advisories: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- uses: taiki-e/[email protected] | |
with: | |
tool: cargo-deny | |
- name: check advisories | |
run: cargo deny check advisories | |
bans: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- uses: taiki-e/[email protected] | |
with: | |
tool: cargo-deny | |
- name: Scan for vulnerabilities | |
run: cargo deny check bans | |
licenses: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- uses: taiki-e/[email protected] | |
with: | |
tool: cargo-deny | |
- name: check licenses | |
run: cargo deny check licenses | |
sources: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- uses: taiki-e/[email protected] | |
with: | |
tool: cargo-deny | |
- name: check sources | |
run: cargo deny check sources |