Skip to content

Commit

Permalink
chore(CI): update action versions and Ubuntu version (#2107)
Browse files Browse the repository at this point in the history
* chore: update action versions

* chore: move from ubuntu 20.04 to 22.04

* chore: fix pypy version

Co-authored-by: Kurt Griffiths <[email protected]>
  • Loading branch information
2 people authored and vytas7 committed Nov 12, 2023
1 parent 4710166 commit 36b31d3
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 31 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/create-wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 2

- name: Set up Python
uses: actions/setup-python@v2.1.4
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.architecture }}
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 2

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

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

steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 2

- name: Set up Python
uses: actions/setup-python@v2.1.4
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.architecture }}
Expand Down Expand Up @@ -254,12 +254,12 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 2

- name: Cache wheels
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: .pip
key: ${{ matrix.python-version }}-${{ matrix.architecture }}-pip-${{ hashFiles('requirements/tests') }}
Expand All @@ -270,7 +270,7 @@ jobs:
- name: Create wheel for manylinux 2014 for arm
if: ${{ matrix.architecture == 'aarch64' }}
uses: RalfG/python-wheels-manylinux-build@v0.3.2-manylinux2014_aarch64
uses: RalfG/python-wheels-manylinux-build@v0.5.0-manylinux2014_aarch64
# this action generates 2 wheels in dist/. linux manylinux1 and manylinux2010
with:
python-versions: ${{ matrix.python-version }}
Expand All @@ -293,7 +293,7 @@ jobs:
- name: Create wheel for manylinux 2014 for s390x
if: ${{ matrix.architecture == 's390x' }}
uses: RalfG/python-wheels-manylinux-build@v0.3.2-manylinux2014_s390x
uses: RalfG/python-wheels-manylinux-build@v0.5.0-manylinux2014_s390x
# this action generates 2 wheels in dist/. linux manylinux1 and manylinux2010
with:
python-versions: ${{ matrix.python-version }}
Expand Down Expand Up @@ -321,7 +321,7 @@ jobs:
files: 'dist/*manylinux*'

- name: Set up Python
uses: actions/setup-python@v2.1.4
uses: actions/setup-python@v4
with:
python-version: "3.10"
architecture: "x64"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mintest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v2.1.4
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests-emulated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
run_tox_emulate:
name: tox -e py310_cython (${{ matrix.architecture }})
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
Expand All @@ -20,12 +20,12 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 2

- name: Cache PIP
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
.pip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-mailman.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 2

Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
python-version:
- "3.10"
os:
- "ubuntu-20.04"
- "ubuntu-latest"
toxenv:
- "pep8"
- "blue"
Expand All @@ -45,29 +45,29 @@ jobs:
# breaking changes in Falcon 3.0
# - "hug"
include:
- python-version: pypy3
os: ubuntu-20.04
- python-version: pypy3.9
os: ubuntu-latest
toxenv: pypy3
- python-version: "3.7"
os: ubuntu-20.04
os: ubuntu-latest
toxenv: py37
- python-version: "3.8"
os: ubuntu-20.04
os: ubuntu-latest
toxenv: py38
- python-version: "3.8"
os: ubuntu-20.04
os: ubuntu-latest
toxenv: py38_cython
- python-version: "3.9"
os: ubuntu-20.04
os: ubuntu-latest
toxenv: py39
- python-version: "3.9"
os: ubuntu-20.04
os: ubuntu-latest
toxenv: py39_cython
- python-version: "3.10"
os: ubuntu-20.04
os: ubuntu-latest
toxenv: py310
- python-version: "3.10"
os: ubuntu-20.04
os: ubuntu-latest
toxenv: py310_cython
- python-version: "3.11.0-rc - 3.11"
os: ubuntu-latest
Expand Down Expand Up @@ -96,14 +96,14 @@ jobs:
# Some are GitHub actions, others run shell commands.
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
# NOTE(vytas): Work around
# https://github.com/codecov/codecov-action/issues/190
with:
fetch-depth: 2

- name: Set up Python
uses: actions/setup-python@v2.1.4
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand Down

0 comments on commit 36b31d3

Please sign in to comment.