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