Skip to content

Commit 5eeafb6

Browse files
committed
Fixup cache key for GA: prefer matrix.os
Change-Id: I43684ca1900c41934a244e2be810f7358419d07e
1 parent f9e6a5b commit 5eeafb6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/pr.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
PYTHONWARNINGS: ignore:DeprecationWarning
1818
strategy:
1919
matrix:
20+
os: [ubuntu-24.04]
2021
include:
2122
- name: Bandit tests
2223
target: test-bandit
@@ -46,7 +47,7 @@ jobs:
4647
- name: Cache uv
4748
uses: actions/cache@v3
4849
with:
49-
key: uv-$ImageOS-${{ hashFiles('requirements_all_lock.txt') }}
50+
key: uv-${{ matrix.os }}-${{ hashFiles('requirements_all_lock.txt') }}
5051
path: ${{ env.UV_CACHE_DIR }}
5152
- name: Setup Environment
5253
run: |

0 commit comments

Comments
 (0)