File tree Expand file tree Collapse file tree 1 file changed +13
-17
lines changed Expand file tree Collapse file tree 1 file changed +13
-17
lines changed Original file line number Diff line number Diff line change 1212 - cron : " 33 8 * * *"
1313 workflow_dispatch :
1414
15- env :
16- PIP_DISABLE_PIP_VERSION_CHECK : " 1"
17- PIP_NO_PYTHON_VERSION_WARNING : " 1"
18-
1915jobs :
2016 list :
2117 runs-on : ubuntu-latest
@@ -65,14 +61,14 @@ jobs:
6561 3.13
6662 pypy3.10
6763 allow-prereleases : true
68- cache : pip
64+
6965 - 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
7369
7470 - name : Run nox
75- run : nox -s "${{ matrix.noxenv }}" -- ${{ matrix.posargs }}
71+ run : uvx nox -s "${{ matrix.noxenv }}" -- ${{ matrix.posargs }}
7672
7773 packaging :
7874 needs : ci
@@ -89,15 +85,15 @@ jobs:
8985 - uses : actions/checkout@v4
9086 with :
9187 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
9491 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+
10197 - name : Publish to PyPI
10298 if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
10399 uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments