Skip to content

Security Audit

Security Audit #1755

Workflow file for this run

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 }}