File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414
1515 steps :
1616 - uses : actions/checkout@v4
17+ with :
18+ persist-credentials : false
1719 - uses : actions/setup-python@v5
1820 with :
1921 python-version : " 3.x"
20- cache : pip
21- - uses : pre-commit/action@v3.0.1
22+ - uses : tox-dev/action-pre-commit-uv@v1
Original file line number Diff line number Diff line change 2424 - uses : actions/checkout@v4
2525 with :
2626 fetch-depth : 0
27+ persist-credentials : false
2728
2829 - uses : hynek/build-and-inspect-python-package@v2
2930
5051 - name : Publish to Test PyPI
5152 uses : pypa/gh-action-pypi-publish@release/v1
5253 with :
53- attestations : true
5454 repository-url : https://test.pypi.org/legacy/
5555
5656 # Publish to PyPI on GitHub Releases.
8282
8383 - name : Publish to PyPI
8484 uses : pypa/gh-action-pypi-publish@release/v1
85- with :
86- attestations : true
Original file line number Diff line number Diff line change @@ -18,23 +18,21 @@ jobs:
1818
1919 steps :
2020 - uses : actions/checkout@v4
21+ with :
22+ persist-credentials : false
2123
2224 - name : Set up Python ${{ matrix.python-version }}
2325 uses : actions/setup-python@v5
2426 with :
2527 python-version : ${{ matrix.python-version }}
2628 allow-prereleases : true
27- cache : pip
2829
29- - name : Install dependencies
30- run : |
31- python --version
32- python -m pip install -U pip
33- python -m pip install -U tox
30+ - name : Install uv
31+ uses : hynek/setup-cached-uv@v2
3432
3533 - name : Tox tests
3634 run : |
37- tox -e py
35+ uvx --with tox-uv tox -e py
3836
3937 - name : Upload coverage
4038 uses : codecov/codecov-action@v4
You can’t perform that action at this time.
0 commit comments