Scheduled Security Audit #1
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: Scheduled Security Audit | |
| on: | |
| schedule: | |
| - cron: "17 3 * * *" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: scheduled-security-audit | |
| cancel-in-progress: false | |
| jobs: | |
| advisories: | |
| name: RustSec and cargo-deny advisories | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Install Rust toolchain | |
| shell: bash | |
| run: scripts/ci_install_rust.sh | |
| - name: Cache Cargo data | |
| uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 | |
| with: | |
| cache-on-failure: true | |
| - name: Install cargo-audit | |
| uses: taiki-e/install-action@c7eb1735f09259a5035e8e5d44b1406b1cddc0fb # v2.83.0 | |
| with: | |
| tool: cargo-audit@0.22.2 | |
| fallback: none | |
| - name: Install cargo-deny | |
| run: cargo install --locked cargo-deny --version 0.20.2 | |
| - name: Check workspace and isolated-tool advisories | |
| run: scripts/check_scheduled_advisories.sh |