File tree Expand file tree Collapse file tree 2 files changed +24
-15
lines changed Expand file tree Collapse file tree 2 files changed +24
-15
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,14 @@ jobs:
24
24
- uses : actions/setup-python@v5
25
25
with :
26
26
python-version : ${{ matrix.python }}
27
- cache : ' pip'
28
- cache-dependency-path : |
29
- '../**/requirements*.txt'
30
- '../**/setup.py'
31
- - run : python -m pip install --upgrade setuptools pip tox virtualenv
27
+ - name : Install uv
28
+ uses : astral-sh/setup-uv@v4
29
+ with :
30
+ enable-cache : true
31
+ cache-dependency-glob : |
32
+ **/setup.py
33
+ **/requirements*.txt
34
+ - run : uv pip install --upgrade --system setuptools pip tox virtualenv
32
35
# Run tox only for the installed py version on the runner as outlined in the python matrix
33
36
# Ensures the correct py version is installed and tested as opposed to 'tox' which attempts to run for all py versions in tox.ini
34
37
- run : tox -e py
Original file line number Diff line number Diff line change @@ -20,11 +20,14 @@ jobs:
20
20
- uses : actions/setup-python@v5
21
21
with :
22
22
python-version : ${{ matrix.python }}
23
- cache : ' pip'
24
- cache-dependency-path : |
25
- '../**/requirements*.txt'
26
- '../**/setup.py'
27
- - run : python -m pip install --upgrade setuptools pip tox virtualenv
23
+ - name : Install uv
24
+ uses : astral-sh/setup-uv@v4
25
+ with :
26
+ enable-cache : true
27
+ cache-dependency-glob : |
28
+ **/setup.py
29
+ **/requirements*.txt
30
+ - run : uv pip install --upgrade --system setuptools pip tox virtualenv
28
31
# Run tox only for the installed py version on the runner as outlined in the python matrix
29
32
# Ensures the correct py version is installed and tested as opposed to 'tox' which attempts to run for all py versions in tox.ini
30
33
- run : tox -e py
@@ -40,12 +43,15 @@ jobs:
40
43
uses : actions/setup-python@v5
41
44
with :
42
45
python-version : 3.13
43
- cache : ' pip'
44
- cache-dependency-path : |
45
- '../**/requirements*.txt'
46
- '../**/setup.py'
46
+ - name : Install uv
47
+ uses : astral-sh/setup-uv@v4
48
+ with :
49
+ enable-cache : true
50
+ cache-dependency-glob : |
51
+ **/setup.py
52
+ **/requirements*.txt
47
53
- name : Install dependencies
48
- run : pip install wheel
54
+ run : uv pip --system --upgrade install wheel
49
55
- name : Build package
50
56
run : python setup.py sdist bdist_wheel
51
57
- name : Publish package
You can’t perform that action at this time.
0 commit comments