Skip to content

Commit 19aef0c

Browse files
committed
Avoid cache for uv requirements - it doesn't make the build faster
1 parent 8db1af3 commit 19aef0c

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/windows-ci.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,8 @@ jobs:
2929
with:
3030
python-version: ${{ matrix.python-version }}
3131

32-
- uses: actions/cache@v4
33-
env:
34-
UV_CACHE_DIR: C:/Users/runner/.cache/
35-
with:
36-
path: "${{ env.UV_CACHE_DIR }}"
37-
key: ${{ runner.os }}-uv-${{ hashFiles('pyproject.toml') }}
38-
restore-keys: |
39-
${{ runner.os }}-uv-
40-
32+
# We do not use the cache action as uv is faster than the cache action.
4133
- name: "Install dependencies"
42-
env:
43-
UV_CACHE_DIR: C:/Users/runner/.cache/
4434
run: |
4535
irm https://astral.sh/uv/install.ps1 | iex
4636
uv venv C:/Users/runner/.venv

0 commit comments

Comments
 (0)