@@ -26,11 +26,11 @@ jobs:
2626 name : Check linting
2727 runs-on : ubuntu-latest
2828 steps :
29- - uses : actions/checkout@v2
29+ - uses : actions/checkout@v3
3030 - name : Set up Python
31- uses : actions/setup-python@v2
31+ uses : actions/setup-python@v4
3232 with :
33- python-version : ' 3.7 '
33+ python-version : ' 3.8 '
3434 - name : Display Python version
3535 run : python -c "import sys; import os; print(\"\n\".join(os.environ[\"PATH\"].split(os.pathsep))); print(sys.version); print(sys.executable);"
3636 - name : Upgrade setuptools, pip and wheel
3939 run : python -m pip install tox
4040 - name : Set PY
4141 run : echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
42- - uses : actions/cache@v1
42+ - uses : actions/cache@v3
4343 with :
4444 path : ~/.cache/pre-commit
4545 key : pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
5353 matrix :
5454 python-version : [ "3.7", "3.8", "3.9", "3.10" ]
5555 steps :
56- - uses : actions/checkout@v2
56+ - uses : actions/checkout@v3
5757 - name : Set up Python
58- uses : actions/setup-python@v2
58+ uses : actions/setup-python@v4
5959 with :
6060 python-version : ${{ matrix.python-version }}
6161 - name : Display Python version
@@ -95,12 +95,12 @@ jobs:
9595 shell : bash
9696 - name : Set up QEMU
9797 if : ${{ matrix.os.id == 'manylinux_aarch64' }}
98- uses : docker/setup-qemu-action@v1
98+ uses : docker/setup-qemu-action@v2
9999 with :
100100 platforms : all
101- - uses : actions/checkout@v2
101+ - uses : actions/checkout@v3
102102 - name : Building wheel
103- uses : pypa/cibuildwheel@v2.3 .1
103+ uses : pypa/cibuildwheel@v2.11 .1
104104 env :
105105 CIBW_BUILD : cp${{ env.shortver }}-${{ matrix.os.id }}
106106 MACOSX_DEPLOYMENT_TARGET : 10.14 # Should be kept in sync with ci/build_darwin.sh
@@ -131,9 +131,9 @@ jobs:
131131 python-version : ["3.7", "3.8", "3.9", "3.10"]
132132 cloud-provider : [aws, azure, gcp]
133133 steps :
134- - uses : actions/checkout@v2
134+ - uses : actions/checkout@v3
135135 - name : Set up Python
136- uses : actions/setup-python@v2
136+ uses : actions/setup-python@v4
137137 with :
138138 python-version : ${{ matrix.python-version }}
139139 - name : Display Python version
@@ -146,7 +146,7 @@ jobs:
146146 gpg --quiet --batch --yes --decrypt --passphrase="$PARAMETERS_SECRET" \
147147 .github/workflows/parameters/public/parameters_${{ matrix.cloud-provider }}.py.gpg > test/parameters.py
148148 - name : Download wheel(s)
149- uses : actions/download-artifact@v2
149+ uses : actions/download-artifact@v3
150150 with :
151151 name : ${{ matrix.os.download_name }}_py${{ matrix.python-version }}
152152 path : dist
@@ -168,7 +168,7 @@ jobs:
168168 - name : Combine coverages
169169 run : python -m tox -e coverage --skip-missing-interpreters false
170170 shell : bash
171- - uses : actions/upload-artifact@v2
171+ - uses : actions/upload-artifact@v3
172172 with :
173173 name : coverage_${{ matrix.os.download_name }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}
174174 path : |
@@ -188,9 +188,9 @@ jobs:
188188 python-version : [3.7]
189189 cloud-provider : [aws]
190190 steps :
191- - uses : actions/checkout@v2
191+ - uses : actions/checkout@v3
192192 - name : Set up Python
193- uses : actions/setup-python@v2
193+ uses : actions/setup-python@v4
194194 with :
195195 python-version : ${{ matrix.python-version }}
196196 - name : Display Python version
@@ -223,7 +223,7 @@ jobs:
223223 matrix :
224224 cloud-provider : [aws]
225225 steps :
226- - uses : actions/checkout@v2
226+ - uses : actions/checkout@v3
227227 - name : Setup parameters file
228228 shell : bash
229229 env :
@@ -232,7 +232,7 @@ jobs:
232232 gpg --quiet --batch --yes --decrypt --passphrase="$PARAMETERS_SECRET" \
233233 .github/workflows/parameters/public/parameters_${{ matrix.cloud-provider }}.py.gpg > test/parameters.py
234234 - name : Download wheel(s)
235- uses : actions/download-artifact@v2
235+ uses : actions/download-artifact@v3
236236 with :
237237 name : manylinux_x86_64_py3.7
238238 path : dist
@@ -247,7 +247,7 @@ jobs:
247247 PYTEST_ADDOPTS : --color=yes --tb=short
248248 TOX_PARALLEL_NO_SPINNER : 1
249249 shell : bash
250- - uses : actions/upload-artifact@v2
250+ - uses : actions/upload-artifact@v3
251251 with :
252252 name : coverage_linux-fips-3.7-${{ matrix.cloud-provider }}
253253 path : |
@@ -257,15 +257,15 @@ jobs:
257257 combine-coverage :
258258 if : ${{ success() || failure() }}
259259 name : Combine coverage
260- needs : [test, test-fips]
260+ needs : [lint, test, test-fips]
261261 runs-on : ubuntu-latest
262262 steps :
263- - uses : actions/checkout@v2
264- - uses : actions/download-artifact@v2
263+ - uses : actions/checkout@v3
264+ - uses : actions/download-artifact@v3
265265 with :
266266 path : artifacts
267267 - name : Set up Python
268- uses : actions/setup-python@v2
268+ uses : actions/setup-python@v4
269269 with :
270270 python-version : ' 3.7'
271271 - name : Display Python version
@@ -290,15 +290,15 @@ jobs:
290290 - name : Combine coverages
291291 run : python -m tox -e coverage
292292 - name : Publish html coverage
293- uses : actions/upload-artifact@v2
293+ uses : actions/upload-artifact@v3
294294 with :
295295 name : overall_cov_html
296296 path : .tox/htmlcov
297297 - name : Publish xml coverage
298- uses : actions/upload-artifact@v2
298+ uses : actions/upload-artifact@v3
299299 with :
300300 name : overall_cov_xml
301301 path : .tox/coverage.xml
302- - uses : codecov/codecov-action@v1
302+ - uses : codecov/codecov-action@v3
303303 with :
304- file : .tox/coverage.xml
304+ files : .tox/coverage.xml
0 commit comments