Skip to content

Security

Security #316

Workflow file for this run

# Check security vulnerabilities in dependencies.
name: Security
on:
push:
paths:
- '**/Cargo.toml'
schedule:
- cron: '0 0 * * 0' # Sunday
jobs:
security:
name: Security Audit
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/cache@v2
with:
path: |
~/.cargo/advisory-db
key: ${{ runner.os }}-cargo-audit-${{ hashFiles('**/Cargo.lock') }}
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}