File tree Expand file tree Collapse file tree 1 file changed +13
-14
lines changed
Expand file tree Collapse file tree 1 file changed +13
-14
lines changed Original file line number Diff line number Diff line change 1414 name : Test on Python ${{ matrix.python-version }}
1515 runs-on : ubuntu-latest
1616 strategy :
17+ fail-fast : false
1718 matrix :
1819 python-version : ["3.9", "3.10", "3.11"]
1920
@@ -25,22 +26,25 @@ jobs:
2526 uses : actions/setup-python@v6
2627 with :
2728 python-version : ${{ matrix.python-version }}
29+
30+ - name : Install uv
31+ uses : astral-sh/setup-uv@v7
2832
2933 - name : Set up JDK 25
3034 uses : actions/setup-java@v5
3135 with :
3236 distribution : ' temurin'
3337 java-version : ' 25'
3438
35- - name : Install dependencies
39+ - name : Install dependencies & build package
3640 run : |
37- pip install setuptools wheel build pytest pytest-xdist
38- python -m build --sdist --wheel
39- pip install dist/*.whl
41+ uv pip install setuptools wheel build pytest pytest-xdist
42+ uv build
43+ uv pip install dist/*.whl
4044
4145 - name : Verify installed packages
4246 run : |
43- pip list
47+ uv pip list
4448
4549 - name : Import language_tool_python
4650 run : |
@@ -61,16 +65,11 @@ jobs:
6165 steps :
6266 - name : Clone repository
6367 uses : actions/checkout@v5
64-
65- - name : Set up Python 3.14
66- uses : actions/setup-python@v6
67- with :
68- python-version : " 3.14"
6968
70- - name : Install Ruff
71- run : pip install ruff
69+ - name : Install uv
70+ uses : astral-sh/setup-uv@v7
7271
7372 - name : Run Ruff Linter
7473 run : |
75- ruff check .
76- ruff format --check .
74+ uvx ruff check .
75+ uvx ruff format --check .
You can’t perform that action at this time.
0 commit comments