File tree 1 file changed +13
-17
lines changed
1 file changed +13
-17
lines changed Original file line number Diff line number Diff line change 12
12
- cron : " 33 8 * * *"
13
13
workflow_dispatch :
14
14
15
- env :
16
- PIP_DISABLE_PIP_VERSION_CHECK : " 1"
17
- PIP_NO_PYTHON_VERSION_WARNING : " 1"
18
-
19
15
jobs :
20
16
list :
21
17
runs-on : ubuntu-latest
@@ -65,14 +61,14 @@ jobs:
65
61
3.13
66
62
pypy3.10
67
63
allow-prereleases : true
68
- cache : pip
64
+
69
65
- name : Set up uv
70
- uses : hynek /setup-cached- uv@v2
71
- - name : Set up nox
72
-
66
+ uses : astral-sh /setup-uv@v5
67
+ with :
68
+ enable-cache : true
73
69
74
70
- name : Run nox
75
- run : nox -s "${{ matrix.noxenv }}" -- ${{ matrix.posargs }}
71
+ run : uvx nox -s "${{ matrix.noxenv }}" -- ${{ matrix.posargs }}
76
72
77
73
packaging :
78
74
needs : ci
@@ -89,15 +85,15 @@ jobs:
89
85
- uses : actions/checkout@v4
90
86
with :
91
87
submodules : " recursive"
92
- - name : Set up Python
93
- uses : actions/setup-python@v5
88
+
89
+ - name : Set up uv
90
+ uses : astral-sh/setup-uv@v5
94
91
with :
95
- cache : pip
96
- python-version : " 3.x"
97
- - name : Install dependencies
98
- run : python -m pip install build
99
- - name : Create packages
100
- run : python -m build .
92
+ enable-cache : true
93
+
94
+ - name : Build our distributions
95
+ run : uv run --with 'build[uv]' -m build --installer=uv
96
+
101
97
- name : Publish to PyPI
102
98
if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
103
99
uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments