Skip to content

General: Bump CI actions off the deprecated Node 20 runtime - #34

Merged
d4rken merged 1 commit into
mainfrom
ci/node24-action-bumps
Jul 27, 2026
Merged

General: Bump CI actions off the deprecated Node 20 runtime#34
d4rken merged 1 commit into
mainfrom
ci/node24-action-bumps

Conversation

@d4rken

@d4rken d4rken commented Jul 27, 2026

Copy link
Copy Markdown
Member

What changed

No user-facing behavior change. CI-only: two GitHub Actions in the shared common-setup composite are re-pinned to releases that run natively on Node 24, clearing the deprecation warning GitHub emits on every job that uses them.

Technical Context

GitHub is deprecating the Node 20 runtime and currently force-runs these two actions on Node 24, warning on each job:

  • android-actions/setup-android v3.2.2 → v4.0.1. v4.0.0 was the Node 24 migration. Inputs are unchanged and the composite passes none, so the only behavioral delta is the default cmdline-tools-version moving 1107670814742923 (20.0) — the version recent AGP/compileSdk wants anyway. If the SDK install ever regresses, pinning cmdline-tools-version: 11076708 restores the old behavior.
  • gradle/actions/wrapper-validation v4.4.4 → v6.2.0. Node 24 since v5; inputs (min-wrapper-count/allow-snapshots/allow-checksums) are identical and we pass none.

On the v6 licensing question: v6 extracted caching into the proprietary gradle-actions-caching component. That does not apply here — wrapper-validation is part of the MIT-licensed action runner, its dist/wrapper-validation bundle is standalone and never loads the caching library, and this repo gets its Gradle cache from actions/setup-java's cache: gradle rather than setup-gradle.

No other action in the repo targets Node 20 (checked every uses: across .github/workflows and .github/actions).

Review guidance: the real verification is CI itself — the warning should be gone from the jobs that use common-setup, and the Android SDK setup should still succeed on the newer cmdline-tools default.

GitHub is deprecating the Node 20 runtime and already force-runs these
two actions on Node 24, emitting a warning on every job that uses the
common-setup composite.

- android-actions/setup-android v3.2.2 -> v4.0.1 (v4.0.0 was the Node 24
  migration). Inputs are unchanged and we pass none; the only behavioral
  change is the default cmdline-tools version moving 11076708 -> 14742923
  (20.0), which matches what recent AGP/compileSdk needs anyway.
- gradle/actions/wrapper-validation v4.4.4 -> v6.2.0 (Node 24 since v5).
  Inputs are unchanged and we pass none. v6 split caching into the
  proprietary gradle-actions-caching component, but wrapper-validation is
  part of the MIT action runner and its dist bundle never loads it; this
  repo caches via actions/setup-java's `cache: gradle`, not setup-gradle.

No other action in the repo targets Node 20.
@github-actions github-actions Bot added Build/Deploy Build system / CI / release tooling enhancement New feature or request labels Jul 27, 2026
@d4rken
d4rken merged commit 5a91b48 into main Jul 27, 2026
12 checks passed
@d4rken
d4rken deleted the ci/node24-action-bumps branch July 27, 2026 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Build/Deploy Build system / CI / release tooling enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant