From 7b6446372703e7342d54cfc6b795661809b2834b Mon Sep 17 00:00:00 2001 From: besendorf Date: Wed, 12 Aug 2026 15:42:15 +0200 Subject: [PATCH] Update GitHub Actions (#866) --- .github/workflows/add-issue-to-project.yml | 2 +- .github/workflows/mypy.yml | 6 +++--- .github/workflows/publish-release-docker.yml | 11 +++++------ .github/workflows/ruff.yml | 6 +++--- .github/workflows/tests.yml | 6 +++--- .github/workflows/update-ios-data.yml | 4 ++-- 6 files changed, 17 insertions(+), 18 deletions(-) diff --git a/.github/workflows/add-issue-to-project.yml b/.github/workflows/add-issue-to-project.yml index c4e6d84..825eeee 100644 --- a/.github/workflows/add-issue-to-project.yml +++ b/.github/workflows/add-issue-to-project.yml @@ -11,7 +11,7 @@ jobs: name: Add issue to project runs-on: ubuntu-latest steps: - - uses: actions/add-to-project@v0.5.0 + - uses: actions/add-to-project@v2 with: # You can target a project in a different organization # to the issue diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index 6a80720..54402fc 100644 --- a/.github/workflows/mypy.yml +++ b/.github/workflows/mypy.yml @@ -11,13 +11,13 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Setup Python - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: "3.10" - name: Install uv - uses: astral-sh/setup-uv@v7 + uses: astral-sh/setup-uv@v10.0.0 with: enable-cache: true - name: Install Dependencies diff --git a/.github/workflows/publish-release-docker.yml b/.github/workflows/publish-release-docker.yml index dde12b7..eddca22 100644 --- a/.github/workflows/publish-release-docker.yml +++ b/.github/workflows/publish-release-docker.yml @@ -36,10 +36,10 @@ jobs: tag-suffix: "-android" steps: - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 # Uses the `docker/login-action` action to log in to the Container registry registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here. - name: Log in to the Container registry - uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 + uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -47,7 +47,7 @@ jobs: # This step uses [docker/metadata-action](https://github.com/docker/metadata-action#about) to extract tags and labels that will be applied to the specified image. The `id` "meta" allows the output of this step to be referenced in a subsequent step. The `images` value provides the base name for the tags and labels. - name: Extract metadata (tags, labels) for Docker id: meta - uses: docker/metadata-action@v5 + uses: docker/metadata-action@v6 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} flavor: | @@ -61,13 +61,13 @@ jobs: type=sha,format=long,suffix=${{ matrix.platform.tag-suffix }} # This step sets up some additional capabilities to generate the provenance and sbom attestations - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 # This step uses the `docker/build-push-action` action to build the image, based on your repository's `Dockerfile`. If the build succeeds, it pushes the image to GitHub Packages. # It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see "[Usage](https://github.com/docker/build-push-action#usage)" in the README of the `docker/build-push-action` repository. # It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step. - name: Build and push Docker image id: push - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 with: file: ${{ matrix.platform.dockerfile }} context: . @@ -76,4 +76,3 @@ jobs: labels: ${{ steps.meta.outputs.labels }} provenance: mode=max sbom: true - diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml index ee24164..08fc2cd 100644 --- a/.github/workflows/ruff.yml +++ b/.github/workflows/ruff.yml @@ -12,13 +12,13 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Setup Python - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: "3.10" - name: Install uv - uses: astral-sh/setup-uv@v7 + uses: astral-sh/setup-uv@v10.0.0 with: enable-cache: true - name: Install Dependencies diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8eeefc4..c98ab22 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,13 +15,13 @@ jobs: python-version: ['3.10', '3.11', '3.12', '3.13', '3.14'] steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Install uv - uses: astral-sh/setup-uv@v7 + uses: astral-sh/setup-uv@v10.0.0 with: enable-cache: true - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: ${{ matrix.python-version }} - name: Install Python dependencies diff --git a/.github/workflows/update-ios-data.yml b/.github/workflows/update-ios-data.yml index ed0388c..443918c 100644 --- a/.github/workflows/update-ios-data.yml +++ b/.github/workflows/update-ios-data.yml @@ -11,8 +11,8 @@ jobs: update-ios-version: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 - - uses: actions/setup-python@v6 + - uses: actions/checkout@v7 + - uses: actions/setup-python@v7 - name: Install script dependencies run: python -m pip install "packaging==26.3" - name: Run script to fetch latest iOS releases from Apple RSS feed.