From ad50c17694158e1358384c6c186aa251cc3ea1d4 Mon Sep 17 00:00:00 2001 From: JOY <5027251+JOY@users.noreply.github.com> Date: Sat, 12 Sep 2026 22:01:31 +0700 Subject: [PATCH] ci: bump the four GitHub Actions that still declare a node20 runtime GitHub reports on every run that actions/checkout@v4, actions/setup-go@v5, actions/setup-node@v4 and pnpm/action-setup@v4 target Node.js 20 and are being forced to run on Node.js 24. Nothing is broken today - the forcing is already happening - but the pinned majors have not declared support for the runtime they are being given. actions/checkout v4 -> v7 actions/setup-go v5 -> v7 actions/setup-node v4 -> v7 pnpm/action-setup v4 -> v6 Checked against each action's own action.yml rather than assumed: all four declare runs.using: node24 at the new major, pnpm/action-setup@v6.1.0 still accepts the version input this workflow passes, and actions/setup-node@v7.0.0 still accepts node-version, cache and cache-dependency-path. The docker/* actions in deploy-beta.yml and deploy-prod.yml carry the same warning and are deliberately left alone. Bumping them cannot be validated by a pull request - only by triggering a real image build - so they belong in a separate change where a failed build does not also take the beta pipeline down. This pull request is its own test: CI runs it using the new action versions. --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c3c3d34..f64fd900 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,10 +34,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - 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: "1.26" cache: true @@ -55,15 +55,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Install pnpm - uses: pnpm/action-setup@v4 + uses: pnpm/action-setup@v6 with: version: 10.30.2 - name: Set up Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version: 22 cache: "pnpm"