@@ -14,12 +14,13 @@ jobs:
1414 lint :
1515 runs-on : ubuntu-latest
1616 steps :
17- - uses : actions/checkout@v3
18- - uses : actions/setup-python@v4
19- with :
20- python-version : " 3.10"
17+ - uses : actions/checkout@v4
2118 - 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
2324 - run : just install lint-ci
2425
2526 pytest :
@@ -32,15 +33,15 @@ jobs:
3233 - " 3.11"
3334 - " 3.12"
3435 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
3937 - 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 }}
4143 - run : just install test . --cov=. --cov-report xml
42- - name : Upload coverage to Codecov
43- uses : codecov/codecov-action@v4.0.1
44+ - uses : codecov/codecov-action@v4.0.1
4445 env :
4546 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
4647 with :
0 commit comments