@@ -13,37 +13,30 @@ jobs:
1313 fail-fast : false
1414 matrix :
1515 include :
16- - { name: "3.9 ", python: "3.9", tox: py39 -marshmallow3 }
17- - { name: "3.13 ", python: "3.13", tox: py313 -marshmallow3 }
18- - { name: "3.9 ", python: "3.9", tox: py39 -marshmallow4 }
19- - { name: "3.13 ", python: "3.13", tox: py313 -marshmallow4 }
20- - { name: "lowest", python: "3.9", tox: py39 -lowest }
21- - { name: "dev", python: "3.13", tox: py313 -marshmallowdev }
16+ - { name: "3.10-ma3 ", tox: py310 -marshmallow3 }
17+ - { name: "3.14-ma3 ", tox: py314 -marshmallow3 }
18+ - { name: "3.10-ma4 ", tox: py310 -marshmallow4 }
19+ - { name: "3.14-ma4 ", tox: py314 -marshmallow4 }
20+ - { name: "lowest", tox: py310 -lowest }
21+ - { name: "dev", tox: py314 -marshmallowdev }
2222 steps :
23- - uses : actions/checkout@v4.0.0
24- - uses : actions /setup-python@v5
23+ - uses : actions/checkout@v6
24+ - uses : astral-sh /setup-uv@v7
2525 with :
26- python-version : ${{ matrix.python }}
27- - run : python -m pip install tox
28- - run : python -m tox -e${{ matrix.tox }}
26+ enable-cache : true
27+ - run : uv run tox -e${{ matrix.tox }}
2928 build :
3029 name : Build package
3130 runs-on : ubuntu-latest
3231 steps :
33- - uses : actions/checkout@v4
34- - uses : actions /setup-python@v5
32+ - uses : actions/checkout@v6
33+ - uses : astral-sh /setup-uv@v7
3534 with :
36- python-version : " 3.13"
37- - name : Install pypa/build
38- run : python -m pip install build
39- - name : Build a binary wheel and a source tarball
40- run : python -m build
41- - name : Install twine
42- run : python -m pip install twine
43- - name : Check build
44- run : python -m twine check --strict dist/*
35+ enable-cache : true
36+ - run : uv build
37+ - run : uvx twine check --strict dist/*
4538 - name : Store the distribution packages
46- uses : actions/upload-artifact@v4
39+ uses : actions/upload-artifact@v7
4740 with :
4841 name : python-package-distributions
4942 path : dist/
@@ -53,13 +46,11 @@ jobs:
5346 if : startsWith(github.ref, 'refs/tags')
5447 runs-on : ubuntu-latest
5548 steps :
56- - uses : actions/checkout@v4.0.0
57- - uses : actions /setup-python@v5
49+ - uses : actions/checkout@v6
50+ - uses : astral-sh /setup-uv@v7
5851 with :
59- python-version : " 3.13"
60- - run : python -m pip install --upgrade pip
61- - run : python -m pip install tox
62- - run : python -m tox -e lint
52+ enable-cache : true
53+ - run : uv run tox -e lint
6354 publish-to-pypi :
6455 name : PyPI release
6556 if : startsWith(github.ref, 'refs/tags/')
7263 id-token : write
7364 steps :
7465 - name : Download all the dists
75- uses : actions/download-artifact@v4
66+ uses : actions/download-artifact@v7
7667 with :
7768 name : python-package-distributions
7869 path : dist/
0 commit comments