Skip to content

Commit d5e40c0

Browse files
committed
chore: rev codecov cache (#688)
1 parent 97d501f commit d5e40c0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/actions/rust-cargo-run/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ inputs:
2020
cache_name:
2121
description: The name of the cache to save/restore
2222
required: true
23-
default: test
23+
default: v2-test
2424

2525
runs:
2626
using: composite
@@ -41,7 +41,7 @@ runs:
4141
CACHE_SKIP_SAVE: ${{ inputs.save_cache == '' || inputs.save_cache == 'false' }}
4242
with:
4343
version: v0.2.15
44-
shared-key: v2-${{ inputs.cache_name }} # change this to invalidate sccache for this job
44+
shared-key: ${{ inputs.cache_name }} # change this to invalidate sccache for this job
4545
- name: Running ${{ inputs.command }}
4646
uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3
4747
env:

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
command: version
7676
components: llvm-tools-preview
7777
github_token: ${{ secrets.GITHUB_TOKEN }}
78-
cache_name: cov
78+
cache_name: v3-cov
7979
save_cache: true
8080
- name: Put LLVM tools into the PATH
8181
run: echo "${HOME}/.rustup/toolchains/$(cat rust-toolchain)-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin" >> $GITHUB_PATH

0 commit comments

Comments
 (0)