diff --git a/.github/workflows/publish_to_pypi.yml b/.github/workflows/publish_to_pypi.yml index 51897785d..5cf3fccbe 100644 --- a/.github/workflows/publish_to_pypi.yml +++ b/.github/workflows/publish_to_pypi.yml @@ -24,17 +24,17 @@ jobs: matrix: os: [ windows-latest, macOS-12, macOS-14 ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python 3.x - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.x' + - name: Install cibuildwheel + run: python -m pip install cibuildwheel==2.16.5 - name: Build wheels - uses: pypa/cibuildwheel@v2.12.1 - with: - output-dir: dist + run: python -m cibuildwheel --output-dir dist env: CIBW_PROJECT_REQUIRES_PYTHON: ">=${{ needs.get_python_versions.outputs.min-python }}" CIBW_ARCHS: auto64 @@ -57,11 +57,11 @@ jobs: matrix: arch: [ auto64, aarch64 ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python 3.x - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.x' - name: Build source tarball @@ -74,10 +74,10 @@ jobs: uses: docker/setup-qemu-action@v2 with: platforms: all + - name: Install cibuildwheel + run: python -m pip install cibuildwheel==2.16.5 - name: Build wheels - uses: pypa/cibuildwheel@v2.12.1 - with: - output-dir: dist + run: python -m cibuildwheel --output-dir dist env: CIBW_PROJECT_REQUIRES_PYTHON: ">=${{ needs.get_python_versions.outputs.min-python }}" CIBW_ARCHS_LINUX: ${{ matrix.arch }} diff --git a/.github/workflows/test_latest.yml b/.github/workflows/test_latest.yml index 826b437ed..257709023 100644 --- a/.github/workflows/test_latest.yml +++ b/.github/workflows/test_latest.yml @@ -38,7 +38,7 @@ jobs: steps: - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Install GSL @@ -52,7 +52,7 @@ jobs: token: ${{ github.token }} - name: Install Python id: python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: cache: 'pip' python-version: ${{ matrix.python-version }} @@ -85,7 +85,7 @@ jobs: steps: - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Install GSL @@ -99,7 +99,7 @@ jobs: token: ${{ github.token }} - name: Install Python id: python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: cache: 'pip' python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml index a0ee7e2e5..533172a00 100644 --- a/.github/workflows/testsuite.yml +++ b/.github/workflows/testsuite.yml @@ -20,8 +20,8 @@ jobs: name: Run linters with pre-commit runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: '3.10' cache: 'pip' @@ -57,12 +57,12 @@ jobs: shell: bash -l {0} steps: - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup Conda and Python - uses: conda-incubator/setup-miniconda@v2 + uses: conda-incubator/setup-miniconda@v3 with: auto-update-conda: true auto-activate-base: false @@ -120,13 +120,13 @@ jobs: shell: bash -l {0} steps: - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 submodules: true - name: Setup Conda and Python - uses: conda-incubator/setup-miniconda@v2 + uses: conda-incubator/setup-miniconda@v3 with: auto-update-conda: true auto-activate-base: false