Skip to content

Commit ea17aae

Browse files
committed
Enable the uv cache in CI
1 parent 05d91fa commit ea17aae

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727

2828
- name: Install uv
2929
uses: astral-sh/setup-uv@v5
30+
with:
31+
enable-cache: true
32+
cache-dependency-glob: '**/pyproject.toml'
3033

3134
- name: Run tests
3235
run: |

.github/workflows/lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727

2828
- name: Install uv
2929
uses: astral-sh/setup-uv@v5
30+
with:
31+
enable-cache: true
32+
cache-dependency-glob: '**/pyproject.toml'
3033

3134
- name: Lint
3235
run: |

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535

3636
- name: Install uv
3737
uses: astral-sh/setup-uv@v5
38+
with:
39+
enable-cache: true
40+
cache-dependency-glob: '**/pyproject.toml'
3841

3942
- name: Calver calculate version
4043
uses: StephaneBour/actions-calver@master

0 commit comments

Comments
 (0)