Skip to content

Commit

Permalink
Update GitHub Actions cargo caching
Browse files Browse the repository at this point in the history
To reflect latest example config given by actions/cache.
  • Loading branch information
Ortham committed Jun 5, 2022
1 parent 4dc3416 commit eb2f337
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ jobs:
- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Prepare test resources
Expand Down Expand Up @@ -61,9 +63,11 @@ jobs:
- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Install Tarpaulin
Expand Down

0 comments on commit eb2f337

Please sign in to comment.