5454 name : Packages
5555 path : dist
5656 - run : tar xf dist/*.tar.gz --strip-components=1
57- - uses : actions/setup-python@v5
58- with :
59- python-version : ${{ matrix.python-version }}
60- allow-prereleases : true
6157 - uses : hynek/setup-cached-uv@v2
6258
6359 - name : Prepare tox
@@ -116,10 +112,6 @@ jobs:
116112 - run : |
117113 tar xf dist/*.tar.gz --strip-components=1
118114 rm -rf src # ensure tests run against wheel
119- - uses : actions/setup-python@v5
120- with :
121- python-version : ${{ matrix.python-version }}
122- allow-prereleases : true
123115 - uses : hynek/setup-cached-uv@v2
124116
125117 - run : >
@@ -140,9 +132,6 @@ jobs:
140132 name : Packages
141133 path : dist
142134 - run : tar xf dist/*.tar.gz --strip-components=1
143- - uses : actions/setup-python@v5
144- with :
145- python-version-file : .python-version-default
146135 - uses : hynek/setup-cached-uv@v2
147136
148137 - name : Download coverage data
@@ -153,7 +142,7 @@ jobs:
153142
154143 - name : Combine coverage & fail if it's <100%.
155144 run : |
156- uv tool install coverage
145+ uv tool install --python $(cat .python-version-default) coverage
157146
158147 coverage combine
159148 coverage html --skip-covered --skip-empty
@@ -182,10 +171,6 @@ jobs:
182171 name : Packages
183172 path : dist
184173 - run : tar xf dist/*.tar.gz --strip-components=1
185- - uses : actions/setup-python@v5
186- with :
187- # Keep in sync with tox/docs and .readthedocs.yaml.
188- python-version : " 3.13"
189174 - uses : hynek/setup-cached-uv@v2
190175
191176 - run : uvx --with=tox-uv tox run -e docs-doctests,changelog
@@ -197,12 +182,12 @@ jobs:
197182 - uses : actions/checkout@v4
198183 with :
199184 persist-credentials : false
200- - uses : actions/setup-python@v5
201- with :
202- python-version-file : .python-version-default
203185 - uses : hynek/setup-cached-uv@v2
204186
205- - run : uvx --with=tox-uv tox run -e pyright
187+ - run : >
188+ uvx --with=tox-uv
189+ --python $(cat .python-version-default)
190+ tox run -e pyright
206191
207192 install-dev :
208193 name : Verify dev env
@@ -212,9 +197,6 @@ jobs:
212197 - uses : actions/checkout@v4
213198 with :
214199 persist-credentials : false
215- - uses : actions/setup-python@v5
216- with :
217- python-version-file : .python-version-default
218200 - uses : hynek/setup-cached-uv@v2
219201
220202 - run : uv venv --python $(cat .python-version-default)
0 commit comments