49
49
- run : nox -e ${{ matrix.task.nox }}
50
50
51
51
- name : Publish
52
- uses : actions/upload-artifact@v3
52
+ uses : actions/upload-artifact@v4
53
53
with :
54
54
name : dist
55
55
path : dist/
84
84
- uses : actions/checkout@v3
85
85
86
86
- name : Download package files
87
- uses : actions/download-artifact@v3
87
+ uses : actions/download-artifact@v4
88
88
with :
89
89
name : dist
90
90
path : dist/
@@ -104,9 +104,9 @@ jobs:
104
104
- run : nox --python ${{ matrix.python.action }} -e ${{ matrix.task.nox }} -- --use-wheel dist/*.whl
105
105
106
106
- name : Upload coverage data
107
- uses : actions/upload-artifact@v3
107
+ uses : actions/upload-artifact@v4
108
108
with :
109
- name : coverage-data
109
+ name : coverage-data-${{ matrix.python.action }}
110
110
path : .coverage.*
111
111
include-hidden-files : true
112
112
if-no-files-found : ignore
@@ -131,7 +131,7 @@ jobs:
131
131
- uses : actions/checkout@v3
132
132
133
133
- name : Download package files
134
- uses : actions/download-artifact@v3
134
+ uses : actions/download-artifact@v4
135
135
with :
136
136
name : dist
137
137
path : dist/
@@ -178,7 +178,7 @@ jobs:
178
178
fetch-depth : 0
179
179
180
180
- name : Download package files
181
- uses : actions/download-artifact@v3
181
+ uses : actions/download-artifact@v4
182
182
with :
183
183
name : dist
184
184
path : dist/
@@ -246,7 +246,7 @@ jobs:
246
246
- uses : actions/checkout@v3
247
247
248
248
- name : Download package files
249
- uses : actions/download-artifact@v3
249
+ uses : actions/download-artifact@v4
250
250
with :
251
251
name : dist
252
252
path : dist/
@@ -283,9 +283,11 @@ jobs:
283
283
284
284
- run : python -Im pip install --upgrade coverage[toml]
285
285
286
- - uses : actions/download-artifact@v3
286
+ - uses : actions/download-artifact@v4
287
287
with :
288
- name : coverage-data
288
+ pattern : coverage-data-*
289
+ merge-multiple : true
290
+ path : .
289
291
290
292
- name : Combine coverage & fail if it's <100%.
291
293
run : |
@@ -299,10 +301,11 @@ jobs:
299
301
python -Im coverage report --fail-under=100
300
302
301
303
- name : Upload HTML report if check failed.
302
- uses : actions/upload-artifact@v3
304
+ uses : actions/upload-artifact@v4
303
305
with :
304
306
name : html-report
305
307
path : htmlcov
308
+ include-hidden-files : true
306
309
if : ${{ failure() }}
307
310
308
311
# This is a meta-job to simplify PR CI enforcement configuration in GitHub.
0 commit comments