2323 uses : greenbone/actions/lint-python@v3
2424 with :
2525 packages : mdit_py_toc tests
26+ package-manager : uv
2627 python-version : ${{ matrix.python-version }}
27- linter : ruff
28+ linter : ruff check --diff
2829
2930 test :
3031 name : Run all tests
@@ -38,12 +39,12 @@ jobs:
3839 - " 3.12"
3940 steps :
4041 - uses : actions/checkout@v6
41- - name : Install python, poetry and dependencies
42- uses : greenbone/actions/poetry @v3
42+ - name : Install python and and uv
43+ uses : greenbone/actions/uv @v3
4344 with :
4445 python-version : ${{ matrix.python-version }}
4546 - name : Run unit tests
46- run : poetry run python -m unittest -v
47+ run : uv run python -m unittest -v
4748
4849 mypy :
4950 name : Check type hints
@@ -57,18 +58,19 @@ jobs:
5758 - " 3.12"
5859 steps :
5960 - uses : actions/checkout@v6
60- - name : Run mypy
61- uses : greenbone/actions/mypy-python@v3
61+ - uses : greenbone/actions/uv@v3
6262 with :
6363 python-version : ${{ matrix.python-version }}
64+ - name : Run mypy
65+ run : uv run mypy mdit_py_toc tests
6466
6567 check-version :
6668 name : Check versioning for consistency
6769 runs-on : " ubuntu-latest"
6870 steps :
6971 - uses : actions/checkout@v6
70- - name : Install python, poetry and dependencies
71- uses : greenbone/actions/poetry @v3
72+ - name : Install python and uv
73+ uses : greenbone/actions/uv @v3
7274 - name : Check version
7375 run : |
74- poetry run pontos-version verify current
76+ uv run pontos-version verify current
0 commit comments