Skip to content

Commit f03be69

Browse files
ValerianReyclaude
andcommitted
ci: Enable uv caching in GitHub workflows
Add `enable-cache: true` to all uv setup steps across workflows to speed up CI runs by caching downloaded packages and wheels. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 0640ed5 commit f03be69

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/build-deploy-docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
uses: astral-sh/setup-uv@v5
2525
with:
2626
python-version: '3.14'
27+
enable-cache: true
2728

2829
- uses: ./.github/actions/install-deps
2930
with:

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
uses: astral-sh/setup-uv@v5
2121
with:
2222
python-version: '3.14'
23+
enable-cache: true
2324

2425
- name: Build
2526
run: uv build

.github/workflows/tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
uses: astral-sh/setup-uv@v5
4242
with:
4343
python-version: ${{ matrix.python-version || '3.14' }}
44+
enable-cache: true
4445

4546
- uses: ./.github/actions/install-deps
4647
with:
@@ -68,6 +69,7 @@ jobs:
6869
uses: astral-sh/setup-uv@v5
6970
with:
7071
python-version: '3.14'
72+
enable-cache: true
7173

7274
- uses: ./.github/actions/install-deps
7375
with:
@@ -88,6 +90,7 @@ jobs:
8890
uses: astral-sh/setup-uv@v5
8991
with:
9092
python-version: '3.14'
93+
enable-cache: true
9194

9295
- uses: ./.github/actions/install-deps
9396
with:

0 commit comments

Comments
 (0)