Security Audit #1751
Workflow file for this run
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: Security Audit | |
on: | |
push: | |
branches: [ master ] | |
paths: | |
- '**/Cargo.toml' | |
- '**/Cargo.lock' | |
pull_request: | |
branches: [ master ] | |
paths: | |
- '**/Cargo.toml' | |
- '**/Cargo.lock' | |
schedule: | |
- cron: '32 10 * * *' | |
jobs: | |
audit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Cache ~/.cargo | |
uses: actions/cache@v1 | |
with: | |
# we specifically want ~/.cargo/bin/cargo-audit | |
# and ~/.cargo/.crates.toml and .crates2.json | |
# which cargo-install uses to remember that it's | |
# already installed | |
path: ~/.cargo | |
key: ${{ runner.os }}-audit-dotcargo | |
- uses: actions-rs/audit-check@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |