Skip to content

Commit 72caebd

Browse files
ValerianReyclaude
andcommitted
ci: Configure uv cache to use pyproject.toml
Add `cache-dependency-glob: "**/pyproject.toml"` to fix cache invalidation warning. Since this is a library without a lock file, the cache will invalidate when pyproject.toml changes. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent f03be69 commit 72caebd

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
@@ -25,6 +25,7 @@ jobs:
2525
with:
2626
python-version: '3.14'
2727
enable-cache: true
28+
cache-dependency-glob: "**/pyproject.toml"
2829

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

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
with:
2222
python-version: '3.14'
2323
enable-cache: true
24+
cache-dependency-glob: "**/pyproject.toml"
2425

2526
- name: Build
2627
run: uv build

.github/workflows/tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
with:
4343
python-version: ${{ matrix.python-version || '3.14' }}
4444
enable-cache: true
45+
cache-dependency-glob: "**/pyproject.toml"
4546

4647
- uses: ./.github/actions/install-deps
4748
with:
@@ -70,6 +71,7 @@ jobs:
7071
with:
7172
python-version: '3.14'
7273
enable-cache: true
74+
cache-dependency-glob: "**/pyproject.toml"
7375

7476
- uses: ./.github/actions/install-deps
7577
with:
@@ -91,6 +93,7 @@ jobs:
9193
with:
9294
python-version: '3.14'
9395
enable-cache: true
96+
cache-dependency-glob: "**/pyproject.toml"
9497

9598
- uses: ./.github/actions/install-deps
9699
with:

0 commit comments

Comments
 (0)