message: Run cargo-audit daily or when dependencies have changed
  * Run cargo-audit daily and when dependencies have changed
  See
  * Change actions/checkout back to v2
diff: -name: Audit Check
  -on: [pull_request]
  +name: Security Audit
  +on:
  + pull_request:
  + paths: Cargo.lock
  + push:
  + branches: develop
  + paths: Cargo.lock
  + schedule:
  + - cron: '0 0 * * *'
  jobs:
  security_audit:
  + name: Security Audit
  runs-on: ubuntu-latest
  steps:
  - uses: actions/checkout@v2
  + - name: Cache cargo bin
  + uses: actions/cache@v1
  + with:
  + path: ~/.cargo/bin
  + key: ${{ runner.os }}-cargo-audit-v0.11.2
  - uses: actions-rs/audit-check@v1
  with:
  + args: --ignore RUSTSEC-2019-0031
  token: ${{ secrets.GITHUB_TOKEN }}
  