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:
2020 runs-on : ${{ matrix.os }}
2121 steps :
2222 - 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
2525 with :
2626 python-version : ${{ matrix.python }}
27+ enable-cache : true
28+ activate-environment : true
2729 - name : Lint with Ruff
2830 run : |
29- pip install ruff
30- ruff check --output-format=github .
31+ uv tool install ruff
32+ uv ruff check --output-format=github .
3133 continue-on-error : false
3234
3335 - name : Install dependencies
3436 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
3837 if [ "${{ matrix.python-version }}" != "3.13" ]; then # workaround for TheKevJames/coveralls-python#523
39- pip install coveralls
38+ uv pip install coveralls
4039 fi
41- pip install mypy
42- python -m pip install --editable .
40+ uv pip install mypy
41+ uv sync --locked --all-extras --dev
4342
4443
4544 - name : Run tests
You can’t perform that action at this time.
0 commit comments