@@ -40,14 +40,14 @@ jobs:
40
40
- uses : actions/checkout@v4
41
41
with :
42
42
fetch-depth : 0
43
- - uses : actions/setup-python@v4
43
+ - uses : actions/setup-python@v5
44
44
with :
45
45
python-version : 3
46
46
- run : pip install --upgrade build twine
47
47
- name : Build sdist and wheel
48
48
run : python -m build
49
49
- run : twine check dist/*
50
- - uses : actions/upload-artifact@v3
50
+ - uses : actions/upload-artifact@v4
51
51
with :
52
52
name : dist
53
53
path : dist/
@@ -59,11 +59,11 @@ jobs:
59
59
matrix :
60
60
package : ['wheel', 'sdist']
61
61
steps :
62
- - uses : actions/download-artifact@v3
62
+ - uses : actions/download-artifact@v4
63
63
with :
64
64
name : dist
65
65
path : dist/
66
- - uses : actions/setup-python@v4
66
+ - uses : actions/setup-python@v5
67
67
with :
68
68
python-version : 3
69
69
- name : Display Python version
@@ -124,7 +124,7 @@ jobs:
124
124
steps :
125
125
- uses : actions/checkout@v4
126
126
- name : Set up Python ${{ matrix.python-version }}
127
- uses : actions/setup-python@v4
127
+ uses : actions/setup-python@v5
128
128
with :
129
129
python-version : ${{ matrix.python-version }}
130
130
- name : Display Python version
@@ -145,14 +145,15 @@ jobs:
145
145
- name : Run tests
146
146
run : tools/ci/check.sh
147
147
if : ${{ matrix.check != 'skiptests' }}
148
- - uses : codecov/codecov-action@v3
148
+ - uses : codecov/codecov-action@v4
149
149
with :
150
150
file : coverage.xml
151
+ token : ${{ secrets.CODECOV_TOKEN }}
151
152
if : ${{ always() }}
152
153
- name : Upload pytest test results
153
- uses : actions/upload-artifact@v3
154
+ uses : actions/upload-artifact@v4
154
155
with :
155
- name : pytest-results-${{ matrix.os }}-${{ matrix.python-version }}
156
+ name : pytest-results-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.deb-depends }}
156
157
path : test-results.xml
157
158
if : ${{ always() && matrix.check == 'test' }}
158
159
@@ -162,7 +163,7 @@ jobs:
162
163
needs : [stable, test-package]
163
164
if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
164
165
steps :
165
- - uses : actions/download-artifact@v3
166
+ - uses : actions/download-artifact@v4
166
167
with :
167
168
name : dist
168
169
path : dist/
0 commit comments