44
44
- uses : actions/checkout@v4
45
45
with :
46
46
fetch-depth : 0
47
- - uses : actions/setup-python@v4
47
+ - uses : actions/setup-python@v5
48
48
with :
49
49
python-version : 3
50
50
- run : pip install --upgrade build twine
@@ -54,12 +54,12 @@ jobs:
54
54
- name : Build git archive
55
55
run : mkdir archive && git archive -v -o archive/nibabel-archive.tgz HEAD
56
56
- name : Upload sdist and wheel artifacts
57
- uses : actions/upload-artifact@v3
57
+ uses : actions/upload-artifact@v4
58
58
with :
59
59
name : dist
60
60
path : dist/
61
61
- name : Upload git archive artifact
62
- uses : actions/upload-artifact@v3
62
+ uses : actions/upload-artifact@v4
63
63
with :
64
64
name : archive
65
65
path : archive/
@@ -73,17 +73,17 @@ jobs:
73
73
steps :
74
74
- name : Download sdist and wheel artifacts
75
75
if : matrix.package != 'archive'
76
- uses : actions/download-artifact@v3
76
+ uses : actions/download-artifact@v4
77
77
with :
78
78
name : dist
79
79
path : dist/
80
80
- name : Download git archive artifact
81
81
if : matrix.package == 'archive'
82
- uses : actions/download-artifact@v3
82
+ uses : actions/download-artifact@v4
83
83
with :
84
84
name : archive
85
85
path : archive/
86
- - uses : actions/setup-python@v4
86
+ - uses : actions/setup-python@v5
87
87
with :
88
88
python-version : 3
89
89
- name : Display Python version
@@ -147,7 +147,7 @@ jobs:
147
147
submodules : recursive
148
148
fetch-depth : 0
149
149
- name : Set up Python ${{ matrix.python-version }}
150
- uses : actions/setup-python@v4
150
+ uses : actions/setup-python@v5
151
151
with :
152
152
python-version : ${{ matrix.python-version }}
153
153
architecture : ${{ matrix.architecture }}
@@ -162,14 +162,15 @@ jobs:
162
162
run : tox c
163
163
- name : Run tox
164
164
run : tox -v --exit-and-dump-after 1200
165
- - uses : codecov/codecov-action@v3
165
+ - uses : codecov/codecov-action@v4
166
166
if : ${{ always() }}
167
167
with :
168
168
files : cov.xml
169
+ token : ${{ secrets.CODECOV_TOKEN }}
169
170
- name : Upload pytest test results
170
- uses : actions/upload-artifact@v3
171
+ uses : actions/upload-artifact@v4
171
172
with :
172
- name : pytest-results-${{ matrix.os }}-${{ matrix.python-version }}
173
+ name : pytest-results-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.dependencies }}-${{ matrix.architecture }}
173
174
path : test-results.xml
174
175
if : ${{ always() }}
175
176
@@ -183,7 +184,7 @@ jobs:
183
184
steps :
184
185
- uses : actions/checkout@v4
185
186
- name : Set up Python ${{ matrix.python-version }}
186
- uses : actions/setup-python@v4
187
+ uses : actions/setup-python@v5
187
188
with :
188
189
python-version : 3
189
190
- name : Display Python version
@@ -204,7 +205,7 @@ jobs:
204
205
id-token : write
205
206
if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
206
207
steps :
207
- - uses : actions/download-artifact@v3
208
+ - uses : actions/download-artifact@v4
208
209
with :
209
210
name : dist
210
211
path : dist/
0 commit comments