Skip to content

Commit 631a235

Browse files
authored
Switch to cache v3
1 parent c644357 commit 631a235

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
# NOTE: No need to put OS and rust version in key since only one is used
3636
- name: Cache stable toolchain
3737
if: github.event_name != 'schedule'
38-
uses: actions/cache@v2
38+
uses: actions/cache@v3
3939
with:
4040
path: |
4141
~/.rustup/settings.toml
@@ -69,7 +69,7 @@ jobs:
6969
args: --all -- --check
7070

7171
- name: Cache Cargo registry and index
72-
uses: actions/cache@v2
72+
uses: actions/cache@v3
7373
with:
7474
path: |
7575
~/.cargo/git
@@ -80,7 +80,7 @@ jobs:
8080
# NOTE: No dependency on OS since only one is used
8181
- name: Cache stable Cargo check target directory
8282
if: github.event_name != 'schedule'
83-
uses: actions/cache@v2
83+
uses: actions/cache@v3
8484
with:
8585
path: target
8686
key: lints-target-rust_${{ steps.toolchain.outputs.rustc_hash }}-lock_${{ hashFiles('**/Cargo.toml') }}
@@ -121,7 +121,7 @@ jobs:
121121

122122
- name: Cache stable toolchain
123123
if: github.event_name != 'schedule'
124-
uses: actions/cache@v2
124+
uses: actions/cache@v3
125125
with:
126126
path: |
127127
~/.rustup/settings.toml
@@ -138,7 +138,7 @@ jobs:
138138
override: true
139139

140140
- name: Cache Cargo registry and index
141-
uses: actions/cache@v2
141+
uses: actions/cache@v3
142142
with:
143143
path: |
144144
~/.cargo/git
@@ -148,7 +148,7 @@ jobs:
148148

149149
- name: Cache stable Cargo test target directory
150150
if: github.event_name != 'schedule'
151-
uses: actions/cache@v2
151+
uses: actions/cache@v3
152152
with:
153153
path: target
154154
key: test-target-os_${{ runner.os }}-rust_${{ steps.toolchain.outputs.rustc_hash }}-lock_${{ hashFiles('**/Cargo.toml') }}
@@ -203,7 +203,7 @@ jobs:
203203
override: true
204204

205205
- name: Cache Cargo registry and index
206-
uses: actions/cache@v2
206+
uses: actions/cache@v3
207207
with:
208208
path: |
209209
~/.cargo/git

0 commit comments

Comments
 (0)