Security audit #2012
This file contains hidden or 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: | |
| schedule: | |
| - cron: "15 4 * * *" | |
| workflow_dispatch: | |
| permissions: {} | |
| jobs: | |
| audit: | |
| runs-on: ubuntu-latest | |
| env: | |
| # cargo-audit is compiled during this job, and its dependencies sometimes require a newer compiler than we pin in rust-toolchain.toml. | |
| # Because the result of the check does not at all depend on the Rust compiler we just use the latest stable one here to save us some trouble. | |
| RUSTUP_TOOLCHAIN: stable | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| persist-credentials: false | |
| - uses: rustsec/audit-check@69366f33c96575abad1ee0dba8212993eecbe998 # v2.0.0 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} |