@@ -19,30 +19,22 @@ jobs:
1919 runs-on : ubuntu-latest
2020 steps :
2121 - uses : actions/checkout@v4
22- - uses : actions/setup-python@v5
23- with :
24- python-version : ${{ env.DEFAULT_PYTHON_VERSION }}
25- - uses : actions/cache@v4
26- with :
27- path : ~/.cache/uv
28- key : check-types-${{ hashFiles('pyproject.toml') }}
29- - run : curl -LsSf https://astral.sh/uv/install.sh | sh
3022 - uses : extractions/setup-just@v2
23+ - uses : astral-sh/setup-uv@v3
24+ with :
25+ enable-cache : true
26+ cache-dependency-glob : " **/pyproject.toml"
3127 - run : just check-types
3228
3329 lint :
3430 runs-on : ubuntu-latest
3531 steps :
3632 - uses : actions/checkout@v4
37- - uses : actions/setup-python@v5
38- with :
39- python-version : ${{ env.DEFAULT_PYTHON_VERSION }}
40- - uses : actions/cache@v4
41- with :
42- path : ~/.cache/uv
43- key : lint-${{ hashFiles('pyproject.toml') }}
44- - run : curl -LsSf https://astral.sh/uv/install.sh | sh
4533 - uses : extractions/setup-just@v2
34+ - uses : astral-sh/setup-uv@v3
35+ with :
36+ enable-cache : true
37+ cache-dependency-glob : " **/pyproject.toml"
4638 - run : just lint
4739
4840 test :
@@ -55,15 +47,12 @@ jobs:
5547 - " 3.12"
5648 steps :
5749 - uses : actions/checkout@v4
58- - uses : actions/setup-python@v5
59- with :
60- python-version : ${{ matrix.python-version }}
61- - uses : actions/cache@v4
62- with :
63- path : ~/.cache/uv
64- key : ${{ github.job }}-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}
65- - run : curl -LsSf https://astral.sh/uv/install.sh | sh
6650 - uses : extractions/setup-just@v2
51+ - uses : astral-sh/setup-uv@v3
52+ with :
53+ enable-cache : true
54+ cache-dependency-glob : " **/pyproject.toml"
55+ - run : uv python install ${{ matrix.python-version }}
6756 - run : just test -vv
6857
6958 test-integration :
0 commit comments