Update actions/cache action to v3 (#23)
Co-authored-by: Renovate <system@toast-server.net> Co-committed-by: Renovate <system@toast-server.net>
This commit is contained in:
parent
a7842a2b8b
commit
f4b5423bd4
@ -10,19 +10,19 @@ jobs:
|
|||||||
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
|
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
|
||||||
|
|
||||||
- name: Cache cargo registry
|
- name: Cache cargo registry
|
||||||
uses: actions/cache@8492260343ad570701412c2f464a5877dc76bace # v2
|
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
|
||||||
with:
|
with:
|
||||||
path: ~/.cargo/registry
|
path: ~/.cargo/registry
|
||||||
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
|
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
|
||||||
|
|
||||||
- name: Cache cargo index
|
- name: Cache cargo index
|
||||||
uses: actions/cache@8492260343ad570701412c2f464a5877dc76bace # v2
|
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
|
||||||
with:
|
with:
|
||||||
path: ~/.cargo/git
|
path: ~/.cargo/git
|
||||||
key: ${{ runner.os }}-cargo-git-${{ hashFiles('**/Cargo.lock') }}
|
key: ${{ runner.os }}-cargo-git-${{ hashFiles('**/Cargo.lock') }}
|
||||||
|
|
||||||
- name: Cache cargo build
|
- name: Cache cargo build
|
||||||
uses: actions/cache@8492260343ad570701412c2f464a5877dc76bace # v2
|
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
|
||||||
with:
|
with:
|
||||||
path: target
|
path: target
|
||||||
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
|
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
|
||||||
|
Loading…
Reference in New Issue
Block a user