2626 name : Check linting
2727 runs-on : ubuntu-latest
2828 steps :
29- - uses : actions/checkout@v3
29+ - uses : actions/checkout@v4
3030 - name : Set up Python
3131 uses : actions/setup-python@v4
3232 with :
3939 run : python -m pip install tox>=4
4040 - name : Set PY
4141 run : echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
42- - uses : actions/cache@v3
42+ - uses : actions/cache@v4
4343 with :
4444 path : ~/.cache/pre-commit
4545 key : pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
5353 matrix :
5454 python-version : ["3.8", "3.9", "3.10", "3.11", "3.12"]
5555 steps :
56- - uses : actions/checkout@v3
56+ - uses : actions/checkout@v4
5757 - name : Set up Python
5858 uses : actions/setup-python@v4
5959 with :
9494 uses : docker/setup-qemu-action@v2
9595 with :
9696 platforms : all
97- - uses : actions/checkout@v3
97+ - uses : actions/checkout@v4
9898 - name : Building wheel
9999100100 env :
@@ -105,7 +105,7 @@ jobs:
105105 - name : Show wheels generated
106106 run : ls -lh dist
107107 shell : bash
108- - uses : actions/upload-artifact@v3
108+ - uses : actions/upload-artifact@v4
109109 with :
110110 include-hidden-files : true
111111 name : ${{ matrix.os.id }}_py${{ matrix.python-version }}
@@ -128,7 +128,7 @@ jobs:
128128 python-version : ["3.8", "3.9", "3.10", "3.11", "3.12"]
129129 cloud-provider : [aws, azure, gcp]
130130 steps :
131- - uses : actions/checkout@v3
131+ - uses : actions/checkout@v4
132132 - name : Set up Python
133133 uses : actions/setup-python@v4
134134 with :
@@ -143,7 +143,7 @@ jobs:
143143 gpg --quiet --batch --yes --decrypt --passphrase="$PARAMETERS_SECRET" \
144144 .github/workflows/parameters/public/parameters_${{ matrix.cloud-provider }}.py.gpg > test/parameters.py
145145 - name : Download wheel(s)
146- uses : actions/download-artifact@v3
146+ uses : actions/download-artifact@v4
147147 with :
148148 name : ${{ matrix.os.download_name }}_py${{ matrix.python-version }}
149149 path : dist
@@ -165,7 +165,7 @@ jobs:
165165 - name : Combine coverages
166166 run : python -m tox run -e coverage --skip-missing-interpreters false
167167 shell : bash
168- - uses : actions/upload-artifact@v3
168+ - uses : actions/upload-artifact@v4
169169 with :
170170 include-hidden-files : true
171171 name : coverage_${{ matrix.os.download_name }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}
@@ -186,7 +186,7 @@ jobs:
186186 python-version : [3.8]
187187 cloud-provider : [aws]
188188 steps :
189- - uses : actions/checkout@v3
189+ - uses : actions/checkout@v4
190190 - name : Set up Python
191191 uses : actions/setup-python@v4
192192 with :
@@ -225,7 +225,7 @@ jobs:
225225 python-version : [3.8]
226226 cloud-provider : [aws]
227227 steps :
228- - uses : actions/checkout@v3
228+ - uses : actions/checkout@v4
229229 - name : Set up Python
230230 uses : actions/setup-python@v4
231231 with :
@@ -253,7 +253,7 @@ jobs:
253253 matrix :
254254 cloud-provider : [aws]
255255 steps :
256- - uses : actions/checkout@v3
256+ - uses : actions/checkout@v4
257257 - name : Setup parameters file
258258 shell : bash
259259 env :
@@ -262,7 +262,7 @@ jobs:
262262 gpg --quiet --batch --yes --decrypt --passphrase="$PARAMETERS_SECRET" \
263263 .github/workflows/parameters/public/parameters_${{ matrix.cloud-provider }}.py.gpg > test/parameters.py
264264 - name : Download wheel(s)
265- uses : actions/download-artifact@v3
265+ uses : actions/download-artifact@v4
266266 with :
267267 name : manylinux_x86_64_py3.8
268268 path : dist
@@ -277,7 +277,7 @@ jobs:
277277 PYTEST_ADDOPTS : --color=yes --tb=short
278278 TOX_PARALLEL_NO_SPINNER : 1
279279 shell : bash
280- - uses : actions/upload-artifact@v3
280+ - uses : actions/upload-artifact@v4
281281 with :
282282 include-hidden-files : true
283283 name : coverage_linux-fips-3.8-${{ matrix.cloud-provider }}
@@ -300,7 +300,7 @@ jobs:
300300 env :
301301 longver : ${{ matrix.python-version }}
302302 shell : bash
303- - uses : actions/checkout@v3
303+ - uses : actions/checkout@v4
304304 - name : Setup parameters file
305305 shell : bash
306306 env :
@@ -309,7 +309,7 @@ jobs:
309309 gpg --quiet --batch --yes --decrypt --passphrase="$PARAMETERS_SECRET" \
310310 .github/workflows/parameters/public/parameters_${{ matrix.cloud-provider }}.py.gpg > test/parameters.py
311311 - name : Download wheel(s)
312- uses : actions/download-artifact@v3
312+ uses : actions/download-artifact@v4
313313 with :
314314 name : manylinux_x86_64_py${{ matrix.python-version }}
315315 path : dist
@@ -324,7 +324,7 @@ jobs:
324324 PYTEST_ADDOPTS : --color=yes --tb=short
325325 TOX_PARALLEL_NO_SPINNER : 1
326326 shell : bash
327- - uses : actions/upload-artifact@v3
327+ - uses : actions/upload-artifact@v4
328328 with :
329329 include-hidden-files : true
330330 name : coverage_linux-lambda-${{ matrix.python-version }}-${{ matrix.cloud-provider }}
@@ -338,8 +338,8 @@ jobs:
338338 needs : [lint, test, test-fips, test-lambda]
339339 runs-on : ubuntu-latest
340340 steps :
341- - uses : actions/checkout@v3
342- - uses : actions/download-artifact@v3
341+ - uses : actions/checkout@v4
342+ - uses : actions/download-artifact@v4
343343 with :
344344 path : artifacts
345345 - name : Set up Python
@@ -368,17 +368,18 @@ jobs:
368368 - name : Combine coverages
369369 run : python -m tox run -e coverage
370370 - name : Publish html coverage
371- uses : actions/upload-artifact@v3
371+ uses : actions/upload-artifact@v4
372372 with :
373373 include-hidden-files : true
374374 name : overall_cov_html
375375 path : .tox/htmlcov
376376 - name : Publish xml coverage
377- uses : actions/upload-artifact@v3
377+ uses : actions/upload-artifact@v4
378378 with :
379379 include-hidden-files : true
380380 name : overall_cov_xml
381381 path : .tox/coverage.xml
382- - uses : codecov/codecov-action@v3
382+ - uses : codecov/codecov-action@v4
383383 with :
384384 files : .tox/coverage.xml
385+ token : ${{ secrets.CODECOV_TOKEN }}
0 commit comments