diff --git a/.github/workflows/build_wheels.yaml b/.github/workflows/build_wheels.yaml index f74f4aa..d56baad 100644 --- a/.github/workflows/build_wheels.yaml +++ b/.github/workflows/build_wheels.yaml @@ -27,19 +27,19 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v5 + uses: actions/checkout@v7 with: fetch-depth: 0 - name: Install uv - uses: astral-sh/setup-uv@v6 + uses: astral-sh/setup-uv@v7 with: python-version: "3.13" - name: Build sdist run: uv build --sdist - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: name: wheels-sdist path: dist/*.tar.gz @@ -66,19 +66,19 @@ jobs: shell: bash - name: Check out repository - uses: actions/checkout@v5 + uses: actions/checkout@v7 with: fetch-depth: 0 - name: Build wheels - uses: pypa/cibuildwheel@v3.2 + uses: pypa/cibuildwheel@v4.1 env: CIBW_ARCHS: ${{ matrix.cibw_archs }} CIBW_BUILD: ${{ matrix.cibw_build }} CIBW_TEST_REQUIRES: pytest CIBW_TEST_COMMAND: pytest {package}/tests - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: name: wheels-${{ matrix.os }}-${{ env.CIBW_BUILD_SANITIZED }}-${{ matrix.cibw_archs }} path: wheelhouse/*.whl @@ -95,7 +95,7 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v5 + uses: actions/checkout@v7 with: fetch-depth: 0 @@ -105,13 +105,13 @@ jobs: shell: bash - name: Build wheels - uses: pypa/cibuildwheel@v3.2 + uses: pypa/cibuildwheel@v4.1 env: CIBW_BUILD: ${{ matrix.cibw_build }} CIBW_TEST_REQUIRES: pytest CIBW_TEST_COMMAND: pytest {package}/tests - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: name: wheels-${{ matrix.os }}-${{ env.CIBW_BUILD_SANITIZED }} path: wheelhouse/*.whl @@ -128,7 +128,7 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v5 + uses: actions/checkout@v7 with: fetch-depth: 0 @@ -138,7 +138,7 @@ jobs: shell: bash - name: Build wheels - uses: pypa/cibuildwheel@v3.2 + uses: pypa/cibuildwheel@v4.1 env: CIBW_ARCHS: ${{ matrix.cibw_archs }} CIBW_BUILD: ${{ matrix.cibw_build }} @@ -147,7 +147,7 @@ jobs: CIBW_TEST_REQUIRES: pytest CIBW_TEST_COMMAND: pytest {package}/tests - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: name: wheels-${{ matrix.os }}-${{ env.CIBW_BUILD_SANITIZED }}-${{ matrix.cibw_archs }} path: wheelhouse/*.whl @@ -167,7 +167,7 @@ jobs: # Required for PyPI Trusted Publishing (OIDC); no API token needed. id-token: write steps: - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v8 with: path: wheels pattern: wheels-* diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 553359a..e0d1248 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -17,12 +17,12 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v5 + uses: actions/checkout@v7 with: fetch-depth: 0 # Includes getting tags - name: Install uv - uses: astral-sh/setup-uv@v6 + uses: astral-sh/setup-uv@v7 with: python-version: "3.13" enable-cache: true @@ -34,7 +34,7 @@ jobs: if: github.event_name != 'workflow_dispatch' run: uv publish - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 if: always() with: name: dist diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 5a84be2..9015289 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -11,20 +11,20 @@ jobs: env: HAVE_DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN != '' }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up QEMU - uses: docker/setup-qemu-action@v3 + uses: docker/setup-qemu-action@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 - name: Login to DockerHub if: ${{ env.HAVE_DOCKERHUB_TOKEN == 'true' }} - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push if: ${{ env.HAVE_DOCKERHUB_TOKEN == 'true' }} - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v7 with: context: . file: Dockerfile diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 1059f7b..9f0af5d 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -24,10 +24,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out repository - uses: actions/checkout@v5 + uses: actions/checkout@v7 - name: Install uv - uses: astral-sh/setup-uv@v6 + uses: astral-sh/setup-uv@v7 with: python-version: "3.13" enable-cache: true @@ -36,7 +36,7 @@ jobs: run: uv sync --locked - name: Cache pre-commit - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: ~/.cache/pre-commit/ key: pre-commit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }} @@ -71,10 +71,10 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v5 + uses: actions/checkout@v7 - name: Install uv - uses: astral-sh/setup-uv@v6 + uses: astral-sh/setup-uv@v7 with: python-version: ${{ matrix.python-version }} enable-cache: true @@ -96,7 +96,7 @@ jobs: - name: Upload coverage to Codecov if: steps.check_test_files.outputs.files_exists == 'true' - uses: codecov/codecov-action@v5 + uses: codecov/codecov-action@v7 with: token: ${{ secrets.CODECOV_TOKEN }} flags: unittests