Skip to content

Commit

Permalink
ci: upgrade actions - checkout, cibuildwheel
Browse files Browse the repository at this point in the history
  • Loading branch information
markokr committed Oct 24, 2023
1 parent 4a435ed commit bff0e8a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
# https://github.com/actions
# https://cibuildwheel.readthedocs.io/en/stable/options/
#
# uses: https://github.com/actions/checkout @v3
# uses: https://github.com/actions/checkout @v4
# uses: https://github.com/actions/setup-python @v4
# uses: https://github.com/actions/download-artifact @v3
# uses: https://github.com/actions/upload-artifact @v3
# uses: https://github.com/pypa/cibuildwheel @v2.15
# uses: https://github.com/pypa/cibuildwheel @v2.16

name: CI

Expand All @@ -26,7 +26,7 @@ jobs:
- {PY: "3.10", TOXENV: "lint"}
steps:
- name: "Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Setup Python ${{matrix.test.PY}}"
uses: actions/setup-python@v4
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
- {os: "ubuntu-latest", osname: "Linux", PY: "pypy3.10", TOXENV: "pypy310", arch: "x64"}
steps:
- name: "Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Setup Python ${{matrix.test.PY}}"
uses: actions/setup-python@v4
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
#- {PY: "pypy3.10", PG: "15", TOXENV: "pypy310"}
steps:
- name: "Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Setup Python ${{matrix.test.PY}}"
uses: actions/setup-python@v4
Expand Down Expand Up @@ -167,13 +167,13 @@ jobs:
- {os: "macos-latest", name: "MacOS", archs: "x86_64 arm64 universal2", qemu: false}
- {os: "windows-latest", name: "Windows", archs: "auto", qemu: false}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: "Set up QEMU"
if: ${{matrix.sys.qemu}}
uses: docker/setup-qemu-action@v2
with:
platforms: all
- uses: pypa/cibuildwheel@v2.15
- uses: pypa/cibuildwheel@v2.16
env:
CIBW_ARCHS: "${{matrix.sys.archs}}"
# cp38: cp37-macos does not support universal2/arm64
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: "Build source package"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with: {python-version: "3.11"}
- run: python3 -m pip install -r etc/requirements.build.txt --disable-pip-version-check
Expand All @@ -32,13 +32,13 @@ jobs:
- {os: "macos-latest", name: "MacOS", archs: "x86_64 arm64 universal2", qemu: false}
- {os: "windows-latest", name: "Windows", archs: "auto", qemu: false}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: "Set up QEMU"
if: ${{matrix.sys.qemu}}
uses: docker/setup-qemu-action@v2
with:
platforms: all
- uses: pypa/cibuildwheel@v2.15
- uses: pypa/cibuildwheel@v2.16
env:
CIBW_ARCHS: "${{matrix.sys.archs}}"
# cp38: cp37-macos does not support universal2/arm64
Expand All @@ -56,7 +56,7 @@ jobs:
runs-on: ubuntu-latest
needs: [sdist, cibuildwheel]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with: {python-version: "3.11"}

Expand Down

0 comments on commit bff0e8a

Please sign in to comment.