File tree 3 files changed +9
-12
lines changed 3 files changed +9
-12
lines changed Original file line number Diff line number Diff line change 14
14
15
15
steps :
16
16
- uses : actions/checkout@v4
17
+ with :
18
+ persist-credentials : false
17
19
- uses : actions/setup-python@v5
18
20
with :
19
21
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 24
24
- uses : actions/checkout@v4
25
25
with :
26
26
fetch-depth : 0
27
+ persist-credentials : false
27
28
28
29
- uses : hynek/build-and-inspect-python-package@v2
29
30
50
51
- name : Publish to Test PyPI
51
52
uses : pypa/gh-action-pypi-publish@release/v1
52
53
with :
53
- attestations : true
54
54
repository-url : https://test.pypi.org/legacy/
55
55
56
56
# Publish to PyPI on GitHub Releases.
82
82
83
83
- name : Publish to PyPI
84
84
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:
18
18
19
19
steps :
20
20
- uses : actions/checkout@v4
21
+ with :
22
+ persist-credentials : false
21
23
22
24
- name : Set up Python ${{ matrix.python-version }}
23
25
uses : actions/setup-python@v5
24
26
with :
25
27
python-version : ${{ matrix.python-version }}
26
28
allow-prereleases : true
27
- cache : pip
28
29
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
34
32
35
33
- name : Tox tests
36
34
run : |
37
- tox -e py
35
+ uvx --with tox-uv tox -e py
38
36
39
37
- name : Upload coverage
40
38
uses : codecov/codecov-action@v4
You can’t perform that action at this time.
0 commit comments