Skip to content

Commit f888eab

Browse files
[ci] Key CTS job caches to the CTS version (gfx-rs#8476)
1 parent 2e34322 commit f888eab

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/cts.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ jobs:
7171
- name: caching
7272
uses: Swatinem/rust-cache@v2
7373
with:
74-
prefix-key: v2-rust # Increment version for cache busting
74+
# The version number can be incremented for cache busting.
75+
prefix-key: v2-rust-${{ hashFiles('cts_runner/revision.txt') }}
7576
cache-directories: cts
7677

7778
# We enable line numbers for panics, but that's it

0 commit comments

Comments
 (0)