Skip to content

Commit a6a9c65

Browse files
committed
ci: isolate uv cache per Python matrix job
1 parent 1a6f5a1 commit a6a9c65

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,13 @@ jobs:
1414
python-version: ["3.11", "3.12", "3.13", "3.14"]
1515
steps:
1616
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
17-
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
1817
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
1918
with:
2019
python-version: ${{ matrix.python-version }}
20+
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
21+
with:
22+
python-version: ${{ matrix.python-version }}
23+
cache-suffix: py${{ matrix.python-version }}
2124
- name: Install dependencies
2225
run: uv sync --dev
2326
- name: Run tests

0 commit comments

Comments
 (0)