Incorporate Cargo Audit into CI (#102) #2
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
on: | |
push: | |
pull_request: | |
types: [opened, reopened] | |
schedule: | |
- cron: '00 15 * * 1' | |
name: Audit | |
jobs: | |
check: | |
name: audit | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Install toolchain | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: stable | |
- name: Install Cargo Audit | |
run: cargo install cargo-audit --locked | |
shell: bash | |
- name: Run Audit | |
run: cargo audit |