File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -20,26 +20,25 @@ jobs:
20
20
runs-on : ${{ matrix.os }}
21
21
steps :
22
22
- uses : actions/checkout@v4
23
- - name : Setup Python
24
- uses : actions /setup-python@v5
23
+ - name : Install uv
24
+ uses : astral-sh /setup-uv@v6
25
25
with :
26
26
python-version : ${{ matrix.python }}
27
+ enable-cache : true
28
+ activate-environment : true
27
29
- name : Lint with Ruff
28
30
run : |
29
- pip install ruff
30
- ruff check --output-format=github .
31
+ uv tool install ruff
32
+ uv ruff check --output-format=github .
31
33
continue-on-error : false
32
34
33
35
- name : Install dependencies
34
36
run : |
35
- python -m pip install --upgrade pip
36
- if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
37
- if [ -f test_requirements.txt ]; then pip install -r test_requirements.txt; fi
38
37
if [ "${{ matrix.python-version }}" != "3.13" ]; then # workaround for TheKevJames/coveralls-python#523
39
- pip install coveralls
38
+ uv pip install coveralls
40
39
fi
41
- pip install mypy
42
- python -m pip install --editable .
40
+ uv pip install mypy
41
+ uv sync --locked --all-extras --dev
43
42
44
43
45
44
- name : Run tests
You can’t perform that action at this time.
0 commit comments