File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -30,19 +30,20 @@ jobs:
3030 python-version : ${{ matrix.python-version }}
3131
3232 - uses : actions/cache@v4
33+ env :
34+ UV_CACHE_DIR : ~/.cache/uv
3335 with :
34- path : ~/.cache/pip
35- key : ${{ runner.os }}-pip -${{ hashFiles('pyproject.toml') }}
36+ path : " ${{ env.UV_CACHE_DIR }} "
37+ key : ${{ runner.os }}-uv -${{ hashFiles('pyproject.toml') }}
3638 restore-keys : |
37- ${{ runner.os }}-pip -
39+ ${{ runner.os }}-uv -
3840
3941 - name : " Install dependencies"
42+ env :
43+ UV_CACHE_DIR : ~/.cache/uv
4044 run : |
41- python -m pip install --upgrade pip setuptools wheel
42- # We use '--ignore-installed' to avoid GitHub's cache which can cause
43- # issues - we have seen packages from this cache be cause trouble with
44- # pip-extra-reqs.
45- python -m pip install --ignore-installed --upgrade --editable .[dev]
45+ python -m pip install --upgrade uv
46+ python -m uv pip install --upgrade --editable .[dev]
4647
4748 - name : " Lint"
4849 run : |
You can’t perform that action at this time.
0 commit comments