Skip to content

Commit

Permalink
.github: cache installation of rustsec-admin
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri committed Mar 1, 2020
1 parent 3d7688c commit 3862651
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1

- name: Cache cargo bin
uses: actions/cache@v1
with:
path: ~/.cargo/bin
key: rustsec-admin-v0.1.1

- name: Install rustsec-admin
run: cargo install rustsec-admin

- name: Lint advisories
run: rustsec-admin lint

0 comments on commit 3862651

Please sign in to comment.