File tree 1 file changed +10
-8
lines changed
1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -49,15 +49,16 @@ jobs:
49
49
with :
50
50
path : |
51
51
# Taken from <https://doc.rust-lang.org/nightly/cargo/guide/cargo-home.html#caching-the-cargo-home-in-ci>.
52
- ~/.cargo/bin
52
+ # Cache package/registry information
53
53
~/.cargo/registry/index
54
54
~/.cargo/registry/cache
55
55
~/.cargo/git/db
56
- # contains package information of crates installed via `cargo install`.
56
+ # Cache installed binaries
57
+ ~/.cargo/bin
57
58
~/.cargo/.crates.toml
58
59
~/.cargo/.crates2.json
59
- key : ${{ runner.os }}-cargo-reset20230315 -${{ hashFiles('**/Cargo.lock') }}
60
- restore-keys : ${{ runner.os }}-cargo-reset20230315
60
+ key : cargo- ${{ runner.os }}-reset20240331 -${{ hashFiles('**/Cargo.lock') }}
61
+ restore-keys : cargo- ${{ runner.os }}-reset20240331
61
62
62
63
- name : Install rustup-toolchain-install-master
63
64
if : ${{ steps.cache.outputs.cache-hit != 'true' }}
@@ -98,15 +99,16 @@ jobs:
98
99
with :
99
100
path : |
100
101
# Taken from <https://doc.rust-lang.org/nightly/cargo/guide/cargo-home.html#caching-the-cargo-home-in-ci>.
101
- ~/.cargo/bin
102
+ # Cache package/registry information
102
103
~/.cargo/registry/index
103
104
~/.cargo/registry/cache
104
105
~/.cargo/git/db
105
- # contains package information of crates installed via `cargo install`.
106
+ # Cache installed binaries
107
+ ~/.cargo/bin
106
108
~/.cargo/.crates.toml
107
109
~/.cargo/.crates2.json
108
- key : ${{ runner.os }}-cargo-reset20230315 -${{ hashFiles('**/Cargo.lock') }}
109
- restore-keys : ${{ runner.os }}-cargo-reset20230315
110
+ key : cargo- ${{ runner.os }}-reset20240331 -${{ hashFiles('**/Cargo.lock') }}
111
+ restore-keys : cargo- ${{ runner.os }}-reset20240331
110
112
111
113
- name : Install rustup-toolchain-install-master
112
114
if : ${{ steps.cache.outputs.cache-hit != 'true' }}
You can’t perform that action at this time.
0 commit comments