Skip to content

Commit f30b70d

Browse files
committed
Cache cargo registry
1 parent 7317f8c commit f30b70d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
toolchain: stable
1616
profile: minimal
1717
override: true
18-
- name: Cache cargo index
18+
- name: Cache cargo registry
1919
uses: actions/cache@v2
2020
with:
21-
path: ~/.cargo/git
22-
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
21+
path: ~/.cargo/registry
22+
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
2323
- name: Cache cargo build
2424
uses: actions/cache@v2
2525
with:

0 commit comments

Comments
 (0)