50
50
with :
51
51
python-version : ${{ matrix.python-version }}
52
52
allow-prereleases : true
53
- cache : pip
54
- - run : python -Im pip install tox-uv
53
+ - uses : hynek/setup-cached-uv@v2
54
+ - run : uv pip install --system tox-uv
55
55
56
56
- run : python -Im tox run --installpkg dist/*.whl -f py$(echo ${{ matrix.python-version }} | tr -d .)
57
57
72
72
- uses : actions/setup-python@v5
73
73
with :
74
74
python-version-file : .python-version-default
75
- cache : pip
76
- - run : python -Im pip install --upgrade coverage[toml]
75
+ - uses : hynek/setup-cached-uv@v2
76
+ - run : uv pip install --system --upgrade coverage[toml]
77
77
- uses : actions/download-artifact@v4
78
78
with :
79
79
pattern : coverage-data-*
@@ -113,8 +113,8 @@ jobs:
113
113
with :
114
114
python-version-file : .python-version-default
115
115
allow-prereleases : true
116
- cache : pip
117
- - run : python -Im pip install tox-uv
116
+ - uses : hynek/setup-cached-uv@v2
117
+ - run : uv pip install --system tox-uv
118
118
119
119
- run : python -Im tox run --installpkg dist/*.whl -e mypy-pkg
120
120
@@ -134,8 +134,8 @@ jobs:
134
134
with :
135
135
python-version-file : .python-version-default
136
136
allow-prereleases : true
137
- cache : pip
138
- - run : python -Im pip install tox-uv
137
+ - uses : hynek/setup-cached-uv@v2
138
+ - run : uv pip install --system tox-uv
139
139
140
140
- run : python -Im tox run --installpkg dist/*.whl -e pyright
141
141
@@ -154,8 +154,8 @@ jobs:
154
154
with :
155
155
# Keep in sync with tox.ini/docs & .readthedocs.yaml
156
156
python-version : " 3.12"
157
- cache : pip
158
- - run : python -Im pip install tox-uv
157
+ - uses : hynek/setup-cached-uv@v2
158
+ - run : uv pip install --system tox-uv
159
159
160
160
- run : python -Im tox run -e docs
161
161
@@ -171,9 +171,8 @@ jobs:
171
171
- uses : actions/setup-python@v5
172
172
with :
173
173
python-version-file : .python-version-default
174
- cache : pip
174
+ - uses : hynek/setup-cached-uv@v2
175
175
176
- - run : python -Im pip install uv
177
176
- run : uv venv
178
177
- run : uv pip install -e .[dev]
179
178
@@ -211,8 +210,7 @@ jobs:
211
210
- uses : actions/setup-python@v5
212
211
with :
213
212
python-version-file : .python-version-default
214
- cache : pip
215
- # tox 4.12.0 started passing FORCE_COLOR and NO_COLOR by default.
216
- - run : python -Im pip install 'tox>=4.12.0' tox-uv
213
+ - uses : hynek/setup-cached-uv@v2
214
+ - run : uv pip install --system tox-uv
217
215
218
216
- run : python -Im tox run -f color
0 commit comments