@@ -14,12 +14,13 @@ jobs:
14
14
lint :
15
15
runs-on : ubuntu-latest
16
16
steps :
17
- - uses : actions/checkout@v3
18
- - uses : actions/setup-python@v4
19
- with :
20
- python-version : " 3.10"
17
+ - uses : actions/checkout@v4
21
18
- uses : extractions/setup-just@v2
22
- - run : curl -LsSf https://astral.sh/uv/install.sh | sh
19
+ - uses : astral-sh/setup-uv@v3
20
+ with :
21
+ enable-cache : true
22
+ cache-dependency-glob : " **/pyproject.toml"
23
+ - run : uv python install 3.10
23
24
- run : just install lint-ci
24
25
25
26
pytest :
@@ -32,15 +33,15 @@ jobs:
32
33
- " 3.11"
33
34
- " 3.12"
34
35
steps :
35
- - uses : actions/checkout@v3
36
- - uses : actions/setup-python@v4
37
- with :
38
- python-version : ${{ matrix.python-version }}
36
+ - uses : actions/checkout@v4
39
37
- uses : extractions/setup-just@v2
40
- - run : curl -LsSf https://astral.sh/uv/install.sh | sh
38
+ - uses : astral-sh/setup-uv@v3
39
+ with :
40
+ enable-cache : true
41
+ cache-dependency-glob : " **/pyproject.toml"
42
+ - run : uv python install ${{ matrix.python-version }}
41
43
- run : just install test . --cov=. --cov-report xml
42
- - name : Upload coverage to Codecov
43
-
44
+
44
45
env :
45
46
CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
46
47
with :
0 commit comments