@@ -12,35 +12,29 @@ jobs:
1212 fail-fast : false
1313 matrix :
1414 include :
15- - { name: "3.9 ", python: "3.9", tox: py39 -marshmallow3 }
16- - { name: "3.13 ", python: "3.13", tox: py313 -marshmallow3 }
17- - { name: "lowest", python: "3.9", tox: py39 -lowest }
18- - { name: "dev", python: "3.13", tox: py313 -marshmallowdev }
19- - { name: "mypy-ma3", python: "3.13", tox: mypy-marshmallow3 }
20- - { name: "mypy-madev", python: "3.13", tox: mypy-marshmallowdev }
15+ - { name: "3.10 ", tox: py310 -marshmallow3 }
16+ - { name: "3.14 ", tox: py314 -marshmallow3 }
17+ - { name: "lowest", tox: py310 -lowest }
18+ - { name: "dev", tox: py314 -marshmallowdev }
19+ - { name: "mypy-ma3", tox: mypy-marshmallow3 }
20+ - { name: "mypy-madev", tox: mypy-marshmallowdev }
2121 steps :
2222 - uses : actions/checkout@v6
23- - uses : actions /setup-python@v6
23+ - uses : astral-sh /setup-uv@v7
2424 with :
25- python-version : ${{ matrix.python }}
26- - run : python -m pip install tox
27- - run : python -m tox -e${{ matrix.tox }}
25+ enable-cache : true
26+ - run : uv run tox -e${{ matrix.tox }}
2827 build :
2928 name : Build package
3029 runs-on : ubuntu-latest
3130 steps :
3231 - uses : actions/checkout@v6
33- - uses : actions /setup-python@v6
32+ - uses : astral-sh /setup-uv@v7
3433 with :
35- python-version : " 3.13"
36- - name : Install pypa/build
37- run : python -m pip install build
38- - name : Build a binary wheel and a source tarball
39- run : python -m build
40- - name : Install twine
41- run : python -m pip install twine
42- - name : Check build
43- run : python -m twine check --strict dist/*
34+ python-version : " 3.14"
35+ enable-cache : true
36+ - run : uv build
37+ - run : uvx twine check --strict dist/*
4438 - name : Store the distribution packages
4539 uses : actions/upload-artifact@v7
4640 with :
@@ -53,11 +47,11 @@ jobs:
5347 runs-on : ubuntu-latest
5448 steps :
5549 - uses : actions/checkout@v6
56- - uses : actions /setup-python@v6
50+ - uses : astral-sh /setup-uv@v7
5751 with :
58- python-version : " 3.13 "
59- - run : python -m pip install tox
60- - run : python -m tox -e lint
52+ python-version : " 3.14 "
53+ enable-cache : true
54+ - run : uv run tox -e lint
6155 publish-to-pypi :
6256 name : PyPI release
6357 if : startsWith(github.ref, 'refs/tags/')
0 commit comments