Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 9660653

Browse files
committed
Fix cache
1 parent 616eb7d commit 9660653

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ jobs:
2020
with:
2121
node-version: '22'
2222

23+
- name: "Set up Python"
24+
id: setup-python
25+
uses: actions/setup-python@v5
26+
with:
27+
python-version-file: "pyproject.toml"
28+
2329
- name: Install the latest version of uv
2430
uses: astral-sh/setup-uv@v6
2531
with:
@@ -29,7 +35,7 @@ jobs:
2935
name: Setup uv cache
3036
with:
3137
path: .venv
32-
key: ${{ runner.os }}-uv-store-${{ hashFiles('**/uv.lock') }}
38+
key: ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-uv-store-${{ hashFiles('**/uv.lock') }}
3339
restore-keys: |
3440
${{ runner.os }}-uv-store-
3541

0 commit comments

Comments
 (0)