File tree Expand file tree Collapse file tree 2 files changed +2
-23
lines changed
Expand file tree Collapse file tree 2 files changed +2
-23
lines changed Original file line number Diff line number Diff line change 2929 with :
3030 python-version : ${{ matrix.python-version }}
3131
32- - uses : actions/cache@v4
33- env :
34- UV_CACHE_DIR : ~/.cache/uv
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- # `/home/runner` is the result of running `readlink -f ~` on the runner.
44- UV_CACHE_DIR : /home/runner/.cache/uv
4534 run : |
4635 curl -LsSf https://astral.sh/uv/install.sh | sh
4736 uv venv /home/runner/.venv
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments