diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d293a4a..abb29d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,13 +16,13 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: submodules: recursive - - name: Set up Python 3.10 - uses: actions/setup-python@v5 + - name: Set up Python 3.11 + uses: actions/setup-python@v7 with: - python-version: "3.10" + python-version: "3.11" - name: Install tox run: pip install tox - name: Lint @@ -36,13 +36,13 @@ jobs: - twine_check runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: submodules: recursive - - name: Set up Python 3.10 - uses: actions/setup-python@v5 + - name: Set up Python 3.11 + uses: actions/setup-python@v7 with: - python-version: "3.10" + python-version: "3.11" - name: Install tox and upgrade setuptools and pip run: pip install --upgrade tox setuptools pip - name: Run tox -e ${{ matrix.tox_env }} @@ -53,7 +53,6 @@ jobs: strategy: matrix: python-version: - - "3.10" - "3.11" - "3.12" - "3.13" @@ -61,24 +60,24 @@ jobs: - "3.14t" - "3.15" - "3.15t" - - "pypy-3.10" + - "pypy-3.11" - "pypy-3.11" os: ["ubuntu-latest"] include: - os: "macos-latest" # For m1 macos python-version: "3.12" - os: "macos-15-intel" # for x86 macos - python-version: "3.10" + python-version: "3.11" - os: "windows-latest" - python-version: "3.10" + python-version: "3.11" - os: "windows-11-arm" python-version: "3.11" steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: submodules: recursive - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v7 with: python-version: ${{ matrix.python-version }} allow-prereleases: true @@ -95,7 +94,7 @@ jobs: - name: Run tests run: tox - name: Upload coverage report - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v7 test-arch: if: startsWith(github.ref, 'refs/tags') || github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main' @@ -103,9 +102,9 @@ jobs: strategy: matrix: python_version: - - "3.10" + - "3.11" steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: submodules: recursive - uses: uraimo/run-on-arch-action@v3 @@ -138,16 +137,13 @@ jobs: - "macos-15-intel" - "macos-latest" - "windows-latest" - python_version: [ "python" ] - include: - - os: "ubuntu-latest" - python_version: "pypy" + python_version: [ "python==3.11" ] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: submodules: recursive - name: Install miniconda. - uses: conda-incubator/setup-miniconda@v3 # https://github.com/conda-incubator/setup-miniconda. + uses: conda-incubator/setup-miniconda@v4 # https://github.com/conda-incubator/setup-miniconda. with: channels: conda-forge,defaults - name: Install requirements (universal) @@ -183,15 +179,11 @@ jobs: - os: "ubuntu-latest" cibw_archs_linux: "aarch64" steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: submodules: recursive fetch-depth: 0 # Fetch everything to get accurately versioned tag. - - if: ${{ matrix.os == 'windows-11-arm' }} - uses: actions/setup-python@v5 - name: Install Python - - if: ${{ matrix.os != 'windows-11-arm' }} - uses: actions/setup-python@v2 # Some issues where caused by higher versions. + - uses: actions/setup-python@v7 name: Install Python - name: Install cibuildwheel twine build run: python -m pip install cibuildwheel twine build @@ -205,7 +197,7 @@ jobs: arch: ${{ matrix.os == 'windows-11-arm' && 'arm64' || 'x64' }} - name: Set up QEMU if: ${{runner.os == 'Linux' && matrix.cibw_archs_linux == 'aarch64'}} - uses: docker/setup-qemu-action@v3 + uses: docker/setup-qemu-action@v4 with: platforms: arm64 - name: Build wheels @@ -245,7 +237,7 @@ jobs: if: ${{runner.os == 'Linux' && matrix.cibw_archs_linux == 'x86_64'}} run: python -m build --sdist - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: name: "dist-${{ runner.os }}-${{ runner.arch }}-${{ matrix.cibw_archs_linux }}" path: "dist/"