Skip to content

Commit 36b31d3

Browse files
CaselITkgriffs
authored andcommitted
chore(CI): update action versions and Ubuntu version (#2107)
* chore: update action versions * chore: move from ubuntu 20.04 to 22.04 * chore: fix pypy version Co-authored-by: Kurt Griffiths <mail@kgriffs.com>
1 parent 4710166 commit 36b31d3

File tree

5 files changed

+31
-31
lines changed

5 files changed

+31
-31
lines changed

.github/workflows/create-wheels.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ jobs:
3737

3838
steps:
3939
- name: Checkout repo
40-
uses: actions/checkout@v2
40+
uses: actions/checkout@v3
4141
with:
4242
fetch-depth: 2
4343

4444
- name: Set up Python
45-
uses: actions/setup-python@v2.1.4
45+
uses: actions/setup-python@v4
4646
with:
4747
python-version: ${{ matrix.python-version }}
4848
architecture: ${{ matrix.architecture }}
@@ -106,7 +106,7 @@ jobs:
106106

107107
steps:
108108
- name: Checkout repo
109-
uses: actions/checkout@v2
109+
uses: actions/checkout@v3
110110
with:
111111
fetch-depth: 2
112112

@@ -121,7 +121,7 @@ jobs:
121121
echo "::set-output name=python-version::$version"
122122
123123
- name: Set up Python
124-
uses: actions/setup-python@v2.1.4
124+
uses: actions/setup-python@v4
125125
with:
126126
python-version: ${{ steps.linux-py-version.outputs.python-version }}
127127
architecture: ${{ matrix.architecture }}
@@ -130,7 +130,7 @@ jobs:
130130
# this step uses the image provided by pypa here https://github.com/pypa/manylinux to generate the wheels on linux
131131
# the action uses the image for manylinux2010 but can generate also a manylinux1 wheel
132132
# change the tag of this image to change the image used
133-
uses: RalfG/python-wheels-manylinux-build@v0.3.2-manylinux2010_x86_64
133+
uses: RalfG/python-wheels-manylinux-build@v0.5.0-manylinux2010_x86_64
134134
# this action generates 3 wheels in dist/. linux manylinux1 and manylinux2010
135135
# TODO(vytas): Drop manylinux 2010 support for all wheels:
136136
# https://github.com/pypa/manylinux/issues/1281#
@@ -143,7 +143,7 @@ jobs:
143143

144144
- name: Create wheel for manylinux 2014
145145
# as previous step but for manylinux2014
146-
uses: RalfG/python-wheels-manylinux-build@v0.3.2-manylinux2014_x86_64
146+
uses: RalfG/python-wheels-manylinux-build@v0.5.0-manylinux2014_x86_64
147147
# this action generates 2 wheels in dist/. linux, manylinux2014
148148
with:
149149
# Remove previous original wheel just to be sure it is recreated. Should not be needed
@@ -195,12 +195,12 @@ jobs:
195195

196196
steps:
197197
- name: Checkout repo
198-
uses: actions/checkout@v2
198+
uses: actions/checkout@v3
199199
with:
200200
fetch-depth: 2
201201

202202
- name: Set up Python
203-
uses: actions/setup-python@v2.1.4
203+
uses: actions/setup-python@v4
204204
with:
205205
python-version: ${{ matrix.python-version }}
206206
architecture: ${{ matrix.architecture }}
@@ -254,12 +254,12 @@ jobs:
254254

255255
steps:
256256
- name: Checkout repo
257-
uses: actions/checkout@v2
257+
uses: actions/checkout@v3
258258
with:
259259
fetch-depth: 2
260260

261261
- name: Cache wheels
262-
uses: actions/cache@v2
262+
uses: actions/cache@v3
263263
with:
264264
path: .pip
265265
key: ${{ matrix.python-version }}-${{ matrix.architecture }}-pip-${{ hashFiles('requirements/tests') }}
@@ -270,7 +270,7 @@ jobs:
270270
271271
- name: Create wheel for manylinux 2014 for arm
272272
if: ${{ matrix.architecture == 'aarch64' }}
273-
uses: RalfG/python-wheels-manylinux-build@v0.3.2-manylinux2014_aarch64
273+
uses: RalfG/python-wheels-manylinux-build@v0.5.0-manylinux2014_aarch64
274274
# this action generates 2 wheels in dist/. linux manylinux1 and manylinux2010
275275
with:
276276
python-versions: ${{ matrix.python-version }}
@@ -293,7 +293,7 @@ jobs:
293293
294294
- name: Create wheel for manylinux 2014 for s390x
295295
if: ${{ matrix.architecture == 's390x' }}
296-
uses: RalfG/python-wheels-manylinux-build@v0.3.2-manylinux2014_s390x
296+
uses: RalfG/python-wheels-manylinux-build@v0.5.0-manylinux2014_s390x
297297
# this action generates 2 wheels in dist/. linux manylinux1 and manylinux2010
298298
with:
299299
python-versions: ${{ matrix.python-version }}
@@ -321,7 +321,7 @@ jobs:
321321
files: 'dist/*manylinux*'
322322

323323
- name: Set up Python
324-
uses: actions/setup-python@v2.1.4
324+
uses: actions/setup-python@v4
325325
with:
326326
python-version: "3.10"
327327
architecture: "x64"

.github/workflows/mintest.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121

2222
steps:
2323
- name: Checkout repo
24-
uses: actions/checkout@v2
24+
uses: actions/checkout@v3
2525

2626
- name: Set up Python
27-
uses: actions/setup-python@v2.1.4
27+
uses: actions/setup-python@v4
2828
with:
2929
python-version: ${{ matrix.python-version }}
3030

.github/workflows/tests-emulated.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
run_tox_emulate:
1212
name: tox -e py310_cython (${{ matrix.architecture }})
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-latest
1414
strategy:
1515
fail-fast: false
1616
matrix:
@@ -20,12 +20,12 @@ jobs:
2020

2121
steps:
2222
- name: Checkout repo
23-
uses: actions/checkout@v2
23+
uses: actions/checkout@v3
2424
with:
2525
fetch-depth: 2
2626

2727
- name: Cache PIP
28-
uses: actions/cache@v2
28+
uses: actions/cache@v3
2929
with:
3030
path: |
3131
.pip

.github/workflows/tests-mailman.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
steps:
1616
- name: Checkout repo
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v3
1818
with:
1919
fetch-depth: 2
2020

.github/workflows/tests.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
python-version:
2121
- "3.10"
2222
os:
23-
- "ubuntu-20.04"
23+
- "ubuntu-latest"
2424
toxenv:
2525
- "pep8"
2626
- "blue"
@@ -45,29 +45,29 @@ jobs:
4545
# breaking changes in Falcon 3.0
4646
# - "hug"
4747
include:
48-
- python-version: pypy3
49-
os: ubuntu-20.04
48+
- python-version: pypy3.9
49+
os: ubuntu-latest
5050
toxenv: pypy3
5151
- python-version: "3.7"
52-
os: ubuntu-20.04
52+
os: ubuntu-latest
5353
toxenv: py37
5454
- python-version: "3.8"
55-
os: ubuntu-20.04
55+
os: ubuntu-latest
5656
toxenv: py38
5757
- python-version: "3.8"
58-
os: ubuntu-20.04
58+
os: ubuntu-latest
5959
toxenv: py38_cython
6060
- python-version: "3.9"
61-
os: ubuntu-20.04
61+
os: ubuntu-latest
6262
toxenv: py39
6363
- python-version: "3.9"
64-
os: ubuntu-20.04
64+
os: ubuntu-latest
6565
toxenv: py39_cython
6666
- python-version: "3.10"
67-
os: ubuntu-20.04
67+
os: ubuntu-latest
6868
toxenv: py310
6969
- python-version: "3.10"
70-
os: ubuntu-20.04
70+
os: ubuntu-latest
7171
toxenv: py310_cython
7272
- python-version: "3.11.0-rc - 3.11"
7373
os: ubuntu-latest
@@ -96,14 +96,14 @@ jobs:
9696
# Some are GitHub actions, others run shell commands.
9797
steps:
9898
- name: Checkout repo
99-
uses: actions/checkout@v2
99+
uses: actions/checkout@v3
100100
# NOTE(vytas): Work around
101101
# https://github.com/codecov/codecov-action/issues/190
102102
with:
103103
fetch-depth: 2
104104

105105
- name: Set up Python
106-
uses: actions/setup-python@v2.1.4
106+
uses: actions/setup-python@v4
107107
with:
108108
python-version: ${{ matrix.python-version }}
109109

0 commit comments

Comments
 (0)