Skip to content

Commit

Permalink
Add cargo caching to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gentoo90 committed May 29, 2021
1 parent 7c8c642 commit 4b5cc28
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ jobs:
toolchain: stable
profile: minimal
override: true
- name: Cache cargo registry
uses: actions/cache@v2
continue-on-error: true
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ runner.os }}-cargo-
restore-keys: |
${{ runner.os }}-cargo-
- name: run tests
uses: actions-rs/cargo@v1
with:
Expand Down

0 comments on commit 4b5cc28

Please sign in to comment.