Skip to content

Commit a733e31

Browse files
committed
ci: optimize uv setup by pinning version and narrowing cache glob
1 parent 900cff9 commit a733e31

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/cd_pypi.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ jobs:
2929
- name: Install uv
3030
uses: astral-sh/setup-uv@v7
3131
with:
32+
version: "0.10.7"
3233
enable-cache: true
34+
cache-dependency-glob: "uv.lock"
35+
3336

3437
- name: Build package
3538
run: uv build

.github/workflows/test.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ jobs:
2525
- name: Install uv
2626
uses: astral-sh/setup-uv@v7
2727
with:
28+
version: "0.10.7"
2829
enable-cache: true
30+
cache-dependency-glob: "uv.lock"
2931

3032
- name: Install dependencies
3133
run: uv sync --all-groups

0 commit comments

Comments
 (0)