rust-audit #23
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: rust-audit | |
on: | |
schedule: | |
- cron: '20 22 * * 3' | |
jobs: | |
rust-clippy-analyze: | |
name: Run cargo audit | |
runs-on: ubuntu-latest | |
permissions: write-all | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install rust tool chain | |
uses: dtolnay/rust-toolchain@stable | |
- name: install cargo-audit | |
run: cargo install cargo-audit --features=fix | |
- name: Cahce | |
uses: Swatinem/rust-cache@v2 | |
with: | |
cache-directories: "$HOME/.cargo/bin/cargo-audit" | |
#- name: attempt to fix audit | |
# run: cargo audit fix | |
- name: Security audit result on summary | |
uses: actions-rs/audit-check@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} |