From 12434ff0d67f775e5319f8f4f71a2af2687a2344 Mon Sep 17 00:00:00 2001 From: acrespo Date: Tue, 28 Apr 2026 19:53:40 -0300 Subject: [PATCH 1/2] Update GH Actions to latest versions, fix deprecation warning Warnings about node 16 deprecation and moving to node24. Content: Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11, actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808, docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09, docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. See: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/ --- .github/workflows/build-release.yml | 20 ++++++++++---------- .github/workflows/pr.yml | 20 ++++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 6175c232..54cfb459 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -12,23 +12,23 @@ jobs: runs-on: ubuntu-24.04 steps: - name: Set up Docker Buildx - uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # Matches tag v3.0.0 - # https://github.com/docker/setup-buildx-action/releases/tag/v3.0.0 + uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # Matches tag v4.0.0 + # https://github.com/docker/setup-buildx-action/releases/tag/v4.0.0 with: buildkitd-flags: --debug - name: Checkout - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Matches tag v4.1.1 - # https://github.com/actions/checkout/releases/tag/v4.1.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # Matches tag v6.0.2 + # https://github.com/actions/checkout/releases/tag/v6.0.2 - name: Create output dir run: | mkdir -p apk - name: Build - uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # Matches tag v5.0.0 - # https://github.com/docker/build-push-action/releases/tag/v5.0.0 + uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # Matches tag v7.1.0 + # https://github.com/docker/build-push-action/releases/tag/v7.1.0 with: file: android/Dockerfile @@ -36,16 +36,16 @@ jobs: outputs: apk - name: Upload APK - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # Matches tag v4.3.3 - # https://github.com/actions/upload-artifact/releases/tag/v4.3.3 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # Matches tag v7.0.1 + # https://github.com/actions/upload-artifact/releases/tag/v7.0.1 with: name: apk path: apk/apolloui-prod-*-release-unsigned.apk - name: Upload mapping - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # Matches tag v4.3.3 - # https://github.com/actions/upload-artifact/releases/tag/v4.3.3 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # Matches tag v7.0.1 + # https://github.com/actions/upload-artifact/releases/tag/v7.0.1 with: name: mapping diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 477fe87d..320cb32c 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -9,27 +9,27 @@ jobs: runs-on: ubuntu-24.04 steps: - name: Set up Docker Buildx - uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # Matches tag v3.0.0 - # https://github.com/docker/setup-buildx-action/releases/tag/v3.0.0 + uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # Matches tag v4.0.0 + # https://github.com/docker/setup-buildx-action/releases/tag/v4.0.0 with: buildkitd-flags: --debug - name: Checkout - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Matches tag v4.1.1 - # https://github.com/actions/checkout/releases/tag/v4.1.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # Matches tag v6.0.2 + # https://github.com/actions/checkout/releases/tag/v6.0.2 - name: Validate Gradle wrapper - uses: gradle/actions/wrapper-validation@db19848a5fa7950289d3668fb053140cf3028d43 # Matches tag v3 - # https://github.com/gradle/actions/releases/tag/v3 + uses: gradle/actions/wrapper-validation@50e97c2cd7a37755bbfafc9c5b7cafaece252f6e # Matches tag v6.1.0 + # https://github.com/gradle/actions/releases/tag/v6.1.0 - name: Create output dir run: | mkdir -p apk - name: Build - uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # Matches tag v5.0.0 - # https://github.com/docker/build-push-action/releases/tag/v5.0.0 + uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # Matches tag v7.1.0 + # https://github.com/docker/build-push-action/releases/tag/v7.1.0 with: file: android/Dockerfile @@ -37,8 +37,8 @@ jobs: outputs: apk - name: Upload APK - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # Matches tag v4.3.3 - # https://github.com/actions/upload-artifact/releases/tag/v4.3.3 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # Matches tag v7.0.1 + # https://github.com/actions/upload-artifact/releases/tag/v7.0.1 with: name: apk From 22550b24730e526b8fa2e2c1bde1b75f1ade7352 Mon Sep 17 00:00:00 2001 From: acrespo Date: Wed, 29 Apr 2026 15:39:38 -0300 Subject: [PATCH 2/2] Free disk space in CI before Docker build The Docker build was running out of disk space on the GitHub Actions runner. Remove pre-installed software (~30 GB) that the build doesn't need, since it runs entirely inside Docker. --- .github/workflows/build-release.yml | 7 +++++++ .github/workflows/pr.yml | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 54cfb459..4649874a 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -11,6 +11,13 @@ jobs: build-release: runs-on: ubuntu-24.04 steps: + - name: Free disk space + run: | + sudo rm -rf /usr/share/dotnet + sudo rm -rf /usr/local/lib/android + sudo rm -rf /opt/ghc + sudo rm -rf /opt/hostedtoolcache/CodeQL + - name: Set up Docker Buildx uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # Matches tag v4.0.0 # https://github.com/docker/setup-buildx-action/releases/tag/v4.0.0 diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 320cb32c..c6b9939e 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -8,6 +8,13 @@ jobs: pr: runs-on: ubuntu-24.04 steps: + - name: Free disk space + run: | + sudo rm -rf /usr/share/dotnet + sudo rm -rf /usr/local/lib/android + sudo rm -rf /opt/ghc + sudo rm -rf /opt/hostedtoolcache/CodeQL + - name: Set up Docker Buildx uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # Matches tag v4.0.0 # https://github.com/docker/setup-buildx-action/releases/tag/v4.0.0