diff --git a/.github/workflows/pip.yml b/.github/workflows/pip.yml index 4abd572..50bffbd 100644 --- a/.github/workflows/pip.yml +++ b/.github/workflows/pip.yml @@ -12,8 +12,8 @@ jobs: strategy: fail-fast: false matrix: - platform: [ubuntu-20.04, windows-2019, macos-12] - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + platform: [ubuntu-20.04, windows-2019, macos-13] + python-version: ["3.9"] runs-on: ${{ matrix.platform }} diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index a8a9fda..ef61f78 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -10,12 +10,19 @@ on: types: - published +env: + FORCE_COLOR: 3 + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: build_sdist: name: Build SDist runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true @@ -25,7 +32,7 @@ jobs: - name: Check metadata run: pipx run twine check dist/* - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: path: dist/*.tar.gz @@ -36,20 +43,14 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, macos-latest, windows-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - - name: Set up QEMU - if: runner.os == 'Linux' - uses: docker/setup-qemu-action@v2 - with: - platforms: all - - - uses: pypa/cibuildwheel@v2.17.0 + - uses: pypa/cibuildwheel@v2.17 env: # CIBW_ARCHS: auto64 CIBW_ARCHS_LINUX: x86_64 aarch64 @@ -65,7 +66,7 @@ jobs: shell: bash - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: wheelhouse/*.whl @@ -81,7 +82,7 @@ jobs: with: python-version: "3.x" - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: artifact path: dist