@@ -24,10 +24,10 @@ jobs:
24
24
timeout-minutes : 20
25
25
steps :
26
26
- name : Check out code from GitHub
27
- uses : actions/checkout@v4.1.7
27
+ uses : actions/checkout@v4.2.2
28
28
- name : Set up Python ${{ env.DEFAULT_PYTHON }}
29
29
id : python
30
- uses : actions/setup-python@v5.1.1
30
+ uses : actions/setup-python@v5.4.0
31
31
with :
32
32
python-version : ${{ env.DEFAULT_PYTHON }}
33
33
check-latest : true
39
39
'requirements_full.txt', 'requirements_minimal.txt') }}" >> $GITHUB_OUTPUT
40
40
- name : Restore Python virtual environment
41
41
id : cache-venv
42
- uses : actions/cache@v4.0 .2
42
+ uses : actions/cache@v4.2 .2
43
43
with :
44
44
path : venv
45
45
key : >-
59
59
hashFiles('.pre-commit-config.yaml') }}" >> $GITHUB_OUTPUT
60
60
- name : Restore pre-commit environment
61
61
id : cache-precommit
62
- uses : actions/cache@v4.0 .2
62
+ uses : actions/cache@v4.2 .2
63
63
with :
64
64
path : ${{ env.PRE_COMMIT_CACHE }}
65
65
key : >-
@@ -86,10 +86,10 @@ jobs:
86
86
python-key : ${{ steps.generate-python-key.outputs.key }}
87
87
steps :
88
88
- name : Check out code from GitHub
89
- uses : actions/checkout@v4.1.7
89
+ uses : actions/checkout@v4.2.2
90
90
- name : Set up Python ${{ matrix.python-version }}
91
91
id : python
92
- uses : actions/setup-python@v5.1.1
92
+ uses : actions/setup-python@v5.4.0
93
93
with :
94
94
python-version : ${{ matrix.python-version }}
95
95
check-latest : true
@@ -106,7 +106,7 @@ jobs:
106
106
'requirements_full.txt', 'requirements_minimal.txt') }}" >> $GITHUB_OUTPUT
107
107
- name : Restore Python virtual environment
108
108
id : cache-venv
109
- uses : actions/cache@v4.0 .2
109
+ uses : actions/cache@v4.2 .2
110
110
with :
111
111
path : venv
112
112
key : >-
@@ -117,18 +117,19 @@ jobs:
117
117
run : |
118
118
python -m venv venv
119
119
. venv/bin/activate
120
- python -m pip install -U pip setuptools wheel
120
+ python -m pip install -U pip wheel
121
121
pip install -U -r requirements_full.txt
122
122
pip install -e .
123
123
- name : Run pytest
124
124
run : |
125
125
. venv/bin/activate
126
126
pytest --cov
127
127
- name : Upload coverage artifact
128
- uses : actions/upload-artifact@v4.3.4
128
+ uses : actions/upload-artifact@v4.6.1
129
129
with :
130
130
name : coverage-linux-${{ matrix.python-version }}
131
131
path : .coverage
132
+ include-hidden-files : true
132
133
133
134
tests-windows :
134
135
name : tests / run / ${{ matrix.python-version }} / Windows
@@ -145,10 +146,10 @@ jobs:
145
146
# Workaround to set correct temp directory on Windows
146
147
# https://github.com/actions/virtual-environments/issues/712
147
148
- name : Check out code from GitHub
148
- uses : actions/checkout@v4.1.7
149
+ uses : actions/checkout@v4.2.2
149
150
- name : Set up Python ${{ matrix.python-version }}
150
151
id : python
151
- uses : actions/setup-python@v5.1.1
152
+ uses : actions/setup-python@v5.4.0
152
153
with :
153
154
python-version : ${{ matrix.python-version }}
154
155
check-latest : true
@@ -160,7 +161,7 @@ jobs:
160
161
'requirements_full.txt', 'requirements_minimal.txt') }}" >> $GITHUB_OUTPUT
161
162
- name : Restore Python virtual environment
162
163
id : cache-venv
163
- uses : actions/cache@v4.0 .2
164
+ uses : actions/cache@v4.2 .2
164
165
with :
165
166
path : venv
166
167
key : >-
@@ -179,10 +180,11 @@ jobs:
179
180
. venv\\Scripts\\activate
180
181
pytest --cov
181
182
- name : Upload coverage artifact
182
- uses : actions/upload-artifact@v4.3.4
183
+ uses : actions/upload-artifact@v4.6.1
183
184
with :
184
185
name : coverage-windows-${{ matrix.python-version }}
185
186
path : .coverage
187
+ include-hidden-files : true
186
188
187
189
tests-pypy :
188
190
name : tests / run / ${{ matrix.python-version }} / Linux
@@ -195,10 +197,10 @@ jobs:
195
197
python-version : ["pypy3.9", "pypy3.10"]
196
198
steps :
197
199
- name : Check out code from GitHub
198
- uses : actions/checkout@v4.1.7
200
+ uses : actions/checkout@v4.2.2
199
201
- name : Set up Python ${{ matrix.python-version }}
200
202
id : python
201
- uses : actions/setup-python@v5.1.1
203
+ uses : actions/setup-python@v5.4.0
202
204
with :
203
205
python-version : ${{ matrix.python-version }}
204
206
check-latest : true
@@ -210,7 +212,7 @@ jobs:
210
212
}}" >> $GITHUB_OUTPUT
211
213
- name : Restore Python virtual environment
212
214
id : cache-venv
213
- uses : actions/cache@v4.0 .2
215
+ uses : actions/cache@v4.2 .2
214
216
with :
215
217
path : venv
216
218
key : >-
@@ -229,10 +231,11 @@ jobs:
229
231
. venv/bin/activate
230
232
pytest --cov
231
233
- name : Upload coverage artifact
232
- uses : actions/upload-artifact@v4.3.4
234
+ uses : actions/upload-artifact@v4.6.1
233
235
with :
234
236
name : coverage-pypy-${{ matrix.python-version }}
235
237
path : .coverage
238
+ include-hidden-files : true
236
239
237
240
coverage :
238
241
name : tests / process / coverage
@@ -241,22 +244,22 @@ jobs:
241
244
needs : ["tests-linux", "tests-windows", "tests-pypy"]
242
245
steps :
243
246
- name : Check out code from GitHub
244
- uses : actions/checkout@v4.1.7
247
+ uses : actions/checkout@v4.2.2
245
248
- name : Set up Python 3.13
246
249
id : python
247
- uses : actions/setup-python@v5.1.1
250
+ uses : actions/setup-python@v5.4.0
248
251
with :
249
252
python-version : " 3.13"
250
253
check-latest : true
251
254
- name : Install dependencies
252
255
run : pip install -U -r requirements_minimal.txt
253
256
- name : Download all coverage artifacts
254
-
257
+
255
258
- name : Combine Linux coverage results
256
259
run : |
257
260
coverage combine coverage-linux*/.coverage
258
261
coverage xml -o coverage-linux.xml
259
- - uses : codecov/codecov-action@v4
262
+ - uses : codecov/codecov-action@v5
260
263
with :
261
264
token : ${{ secrets.CODECOV_TOKEN }}
262
265
fail_ci_if_error : true
@@ -267,7 +270,7 @@ jobs:
267
270
run : |
268
271
coverage combine coverage-windows*/.coverage
269
272
coverage xml -o coverage-windows.xml
270
- - uses : codecov/codecov-action@v4
273
+ - uses : codecov/codecov-action@v5
271
274
with :
272
275
token : ${{ secrets.CODECOV_TOKEN }}
273
276
fail_ci_if_error : true
@@ -278,7 +281,7 @@ jobs:
278
281
run : |
279
282
coverage combine coverage-pypy*/.coverage
280
283
coverage xml -o coverage-pypy.xml
281
- - uses : codecov/codecov-action@v4
284
+ - uses : codecov/codecov-action@v5
282
285
with :
283
286
token : ${{ secrets.CODECOV_TOKEN }}
284
287
fail_ci_if_error : true
0 commit comments