Skip to content

Commit

Permalink
Run cargo-audit daily or when dependencies have changed (#22)
Browse files Browse the repository at this point in the history
* Run cargo-audit daily and when dependencies have changed

See informalsystems/tendermint-rs#144 (comment)

* Change actions/checkout back to v2
  • Loading branch information
romac authored Mar 9, 2020
1 parent e9017a2 commit 43236fa
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/audit.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,25 @@
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 }}

0 comments on commit 43236fa

Please sign in to comment.