Skip to content

Commit a5c2131

Browse files
committed
try(ci): split caches
1 parent 44c1382 commit a5c2131

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
~/.cargo/registry
2121
~/.cargo/git
2222
target
23-
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
23+
key: ${{ runner.os }}-cargo-tests-${{ hashFiles('**/Cargo.lock') }}
2424
- uses: actions-rs/toolchain@v1
2525
with:
2626
toolchain: stable
@@ -60,7 +60,7 @@ jobs:
6060
~/.cargo/registry
6161
~/.cargo/git
6262
target
63-
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
63+
key: ${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}
6464
- uses: actions-rs/toolchain@v1
6565
with:
6666
toolchain: stable

0 commit comments

Comments
 (0)