@@ -19,30 +19,22 @@ jobs:
19
19
runs-on : ubuntu-latest
20
20
steps :
21
21
- 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
30
22
- uses : extractions/setup-just@v2
23
+ - uses : astral-sh/setup-uv@v3
24
+ with :
25
+ enable-cache : true
26
+ cache-dependency-glob : " **/pyproject.toml"
31
27
- run : just check-types
32
28
33
29
lint :
34
30
runs-on : ubuntu-latest
35
31
steps :
36
32
- 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
45
33
- uses : extractions/setup-just@v2
34
+ - uses : astral-sh/setup-uv@v3
35
+ with :
36
+ enable-cache : true
37
+ cache-dependency-glob : " **/pyproject.toml"
46
38
- run : just lint
47
39
48
40
test :
@@ -55,15 +47,12 @@ jobs:
55
47
- " 3.12"
56
48
steps :
57
49
- 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
66
50
- 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 }}
67
56
- run : just test -vv
68
57
69
58
test-integration :
0 commit comments