ci: move every action off the node20 runtime

checkout v4->v7, setup-go v5->v7, setup-node v4->v7, setup-java v4->v5,
upload-artifact v4->v7, cache v4->v6, upload-pages-artifact v3->v5,
deploy-pages v4->v5, setup-chrome v1->v2, setup-android v3->v4,
goreleaser-action v6->v7. setup-bun and android-emulator-runner are
already node24; buf-setup-action stays on its deliberate SHA pin.

setup-chrome v2 resolves stable from Chrome for Testing rather than the
official installer, so the ci.yml comment about the action's default no
longer held.
This commit is contained in:
pj committed 2026-08-15 20:41:39 +05:30
1 parent 26a1eda68d
commit 3865c6515d
5 files changed
+45 -46

No files matched your search

+18 -18
View File
@@ -41,16 +41,16 @@ jobs:
if: ${{ inputs.platforms == 'all' || inputs.platforms == 'android' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Set up Go
uses: actions/setup-go@v5
uses: actions/setup-go@v7
with:
go-version-file: go.mod
cache: true
- name: Set up the JDKs
uses: actions/setup-java@v4
uses: actions/setup-java@v5
with:
distribution: temurin
# The metro gradle plugin folio builds with needs a 21 runtime; the
@@ -60,7 +60,7 @@ jobs:
21
- name: Set up Android SDK
uses: android-actions/setup-android@v3
uses: android-actions/setup-android@v4
- name: Set up bun
uses: oven-sh/setup-bun@v2
@@ -68,7 +68,7 @@ jobs:
bun-version: "1.3.13"
- name: Cache Gradle
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: |
~/.gradle/caches
@@ -109,7 +109,7 @@ jobs:
- name: Upload the run
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: folio-android
path: runs/
@@ -120,10 +120,10 @@ jobs:
if: ${{ inputs.platforms == 'all' || inputs.platforms == 'ios' }}
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Set up Go
uses: actions/setup-go@v5
uses: actions/setup-go@v7
with:
go-version-file: go.mod
cache: true
@@ -139,7 +139,7 @@ jobs:
run: brew install facebook/fb/idb-companion xcodegen just
- name: Set up the JDKs
uses: actions/setup-java@v4
uses: actions/setup-java@v5
with:
distribution: temurin
# The metro gradle plugin folio builds with needs a 21 runtime; the
@@ -152,13 +152,13 @@ jobs:
# project, which configures :app:androidApp and so needs an Android SDK
# even on this leg.
- name: Set up Android SDK
uses: android-actions/setup-android@v3
uses: android-actions/setup-android@v4
# Both asset tarballs are built by the prepare scripts, and the runner
# bundle is an xcodebuild of companion/Sources. Keyed on the scripts and
# the versions the Makefile embeds, so a later run reuses them.
- name: Cache the companion and runner bundles
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: |
internal/driver/ioscompanion/companionassets/assets
@@ -197,7 +197,7 @@ jobs:
- name: Upload the run
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: folio-ios
path: runs/
@@ -208,16 +208,16 @@ jobs:
if: ${{ inputs.platforms == 'all' || inputs.platforms == 'web' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Set up Go
uses: actions/setup-go@v5
uses: actions/setup-go@v7
with:
go-version-file: go.mod
cache: true
- name: Set up the JDKs
uses: actions/setup-java@v4
uses: actions/setup-java@v5
with:
distribution: temurin
# The metro gradle plugin folio builds with needs a 21 runtime; the
@@ -232,7 +232,7 @@ jobs:
bun-version: "1.3.13"
- name: Cache Gradle
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: |
~/.gradle/caches
@@ -242,7 +242,7 @@ jobs:
folio-gradle-${{ runner.os }}-
- name: Set up Chrome
uses: browser-actions/setup-chrome@v1
uses: browser-actions/setup-chrome@v2
with:
chrome-version: stable
@@ -271,7 +271,7 @@ jobs:
- name: Upload the run
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: folio-web
path: runs/