Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update actions #348

Merged
merged 13 commits into from
Mar 11, 2024
4 changes: 2 additions & 2 deletions .github/workflows/coverage-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
with:
submodules: recursive

- uses: actions/setup-python@v4.5.0
- uses: actions/setup-python@v5.0.0
with:
python-version: 3.11

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ on:
jobs:
build-docs:
name: Build docs
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
with:
submodules: recursive

- uses: actions/setup-python@v4.5.0
- uses: actions/setup-python@v5.0.0
with:
python-version: 3.11

Expand All @@ -42,7 +42,7 @@ jobs:

# Deploy the book's HTML to gh-pages branch
- name: GitHub Pages action
uses: peaceiris/actions-gh-pages@v3.7.3
uses: peaceiris/actions-gh-pages@v3.9.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ jobs:

strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-20.04]
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
os: [macos-latest, windows-latest, ubuntu-22.04]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
with:
submodules: recursive

- uses: actions/setup-python@v4.5.0
- uses: actions/setup-python@v5.0.0
with:
python-version: '${{ matrix.python-version }}'

## Start Windows stuff
- uses: ilammy/msvc-dev-cmd@v1.12.0
- uses: ilammy/msvc-dev-cmd@v1.13.0
if: startsWith(matrix.os, 'windows')

- name: Set Windows Compiler
Expand Down
33 changes: 15 additions & 18 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ jobs:

strategy:
matrix:
os: [ubuntu-20.04]
os: [ubuntu-22.04]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
with:
submodules: recursive

- name: Setup Python
uses: actions/setup-python@v4.5.0
uses: actions/setup-python@v5.0.0

- name: Make sdist
run: |
Expand Down Expand Up @@ -69,42 +69,39 @@ jobs:
- os: windows-latest
build: 'cp3*-win_amd64'
name: Windows 64-bit
- os: ubuntu-20.04
- os: ubuntu-22.04
build: 'cp*-manylinux_x86_64'
name: Linux Intel glibc 64-bit
- os: ubuntu-20.04
- os: ubuntu-22.04
build: 'cp*-musllinux_x86_64'
name: Linux Intel musl 64-bit
- os: ubuntu-20.04
build: 'cp36-manylinux_aarch64'
name: Linux Aarch64 3.6
- os: ubuntu-20.04
- os: ubuntu-22.04
build: 'cp37-manylinux_aarch64'
name: Linux Aarch64 3.7
- os: ubuntu-20.04
- os: ubuntu-22.04
build: 'cp38-manylinux_aarch64'
name: Linux Aarch64 3.8
- os: ubuntu-20.04
- os: ubuntu-22.04
build: 'cp39-manylinux_aarch64'
name: Linux Aarch64 3.9
- os: ubuntu-20.04
- os: ubuntu-22.04
build: 'cp310-manylinux_aarch64'
name: Linux Aarch64 3.10
- os: ubuntu-20.04
- os: ubuntu-22.04
build: 'cp311-manylinux_aarch64'
name: Linux Aarch64 3.11
- os: ubuntu-20.04
- os: ubuntu-22.04
build: 'cp312-manylinux_aarch64'
name: Linux Aarch64 3.12

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
with:
submodules: recursive

## Setup Env

- uses: ilammy/msvc-dev-cmd@v1.12.0
- uses: ilammy/msvc-dev-cmd@v1.13.0
if: runner.os == 'Windows'

- name: Set Windows variables
Expand All @@ -116,7 +113,7 @@ jobs:

- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v2.1.0
uses: docker/setup-qemu-action@v3.0.0
with:
platforms: aarch64

Expand All @@ -142,7 +139,7 @@ jobs:

upload_all:
needs: [make_sdist, make_cibw_v2_wheels]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: github.event_name == 'release' && github.event.action == 'published'

steps:
Expand Down
Loading