| 1 | name: cargo-audit |
| 2 | |
| 3 | on: |
| 4 | schedule: |
| 5 | - cron: '17 0 * * *' |
| 6 | push: |
| 7 | paths: |
| 8 | - '**/Cargo.toml' |
| 9 | - '**/Cargo.lock' |
| 10 | - .github/workflows/cargo-audit.yml |
| 11 | |
| 12 | jobs: |
| 13 | cargo-audit: |
| 14 | runs-on: ubuntu-latest |
| 15 | steps: |
| 16 | # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it |
| 17 | - uses: actions/checkout@v2 |
| 18 | - uses: actions-rs/audit-check@v1 |
| 19 | with: |
| 20 | token: ${{ secrets.GITHUB_TOKEN }} |