Skip to content

Commit c343562

Browse files
committed
more explicit settings for uv cache
1 parent 1641fdf commit c343562

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/linting.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ jobs:
7878
python-version: ${{ matrix.python-version }}
7979
version: ${{ env.UV_VERSION }}
8080
enable-cache: true
81+
cache-dependency-glob: "uv.lock"
82+
prune-cache: true
8183

8284
- name: Set up Python ${{ matrix.python-version }}
8385
run: uv python install ${{ matrix.python-version }}

.github/workflows/testing.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ jobs:
8787
python-version: ${{ matrix.python-version }}
8888
version: ${{ env.UV_VERSION }}
8989
enable-cache: true
90+
cache-dependency-glob: "uv.lock"
91+
prune-cache: true
9092

9193
- name: Set up Python ${{ matrix.python-version }}
9294
run: uv python install ${{ matrix.python-version }}

0 commit comments

Comments
 (0)