Update GitHub Actions cargo caching

To reflect latest example config given by actions/cache.
This commit is contained in:
Oliver Hamlet
2022-09-15 22:06:35 +01:00
parent 6164c6b8e6
commit f6c64deb55
+10 -6
View File
@@ -27,9 +27,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
@@ -83,9 +85,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