[ci] Key CTS job caches to the CTS version (#8476)

This commit is contained in:
Andy Leiserson 2025-11-05 11:54:01 -08:00 committed by GitHub
parent 2e34322f9a
commit f888eab831
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -71,7 +71,8 @@ jobs:
- name: caching
uses: Swatinem/rust-cache@v2
with:
prefix-key: v2-rust # Increment version for cache busting
# The version number can be incremented for cache busting.
prefix-key: v2-rust-${{ hashFiles('cts_runner/revision.txt') }}
cache-directories: cts
# We enable line numbers for panics, but that's it