Skip to content

Commit

Permalink
add cargo cache for the lints
Browse files Browse the repository at this point in the history
  • Loading branch information
Shady Khalifa committed Aug 19, 2020
1 parent 3f9abbc commit 7974388
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,16 @@ jobs:
command: fmt
args: --all -- --check

- name: Cache Cargo
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
~/.cargo/bin
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Run cargo clippy
uses: actions-rs/cargo@v1
continue-on-error: false
Expand Down

0 comments on commit 7974388

Please sign in to comment.