From 080a3f89820aacdfa57789983811a9f180c507fb Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 28 Mar 2026 10:06:37 +0000 Subject: [PATCH] ci: opt into Node.js 24 for all GitHub Actions jobs Sets FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true on all jobs to silence the Node.js 20 deprecation warnings from actions/checkout, actions/setup-go, and actions/upload-artifact ahead of the June 2026 forced migration. https://claude.ai/code/session_011recuqm4GNznGwaPpkqx6n --- .github/workflows/bump.yml | 2 ++ .github/workflows/ci.yml | 6 ++++++ .github/workflows/release-assets.yml | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/.github/workflows/bump.yml b/.github/workflows/bump.yml index 82eab17..d7e6dbc 100644 --- a/.github/workflows/bump.yml +++ b/.github/workflows/bump.yml @@ -17,6 +17,8 @@ jobs: bump: name: Create Tag runs-on: ubuntu-latest + env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true permissions: contents: write steps: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 14a60df..6105651 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,6 +12,8 @@ jobs: test: name: Test (${{ matrix.os }}) runs-on: ${{ matrix.os }} + env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] @@ -30,6 +32,8 @@ jobs: name: Build runs-on: ubuntu-latest needs: test + env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true strategy: matrix: os: [linux, darwin, windows] @@ -59,6 +63,8 @@ jobs: runs-on: ubuntu-latest needs: build if: startsWith(github.ref, 'refs/tags/v') + env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true permissions: contents: write steps: diff --git a/.github/workflows/release-assets.yml b/.github/workflows/release-assets.yml index 60804ef..4333ac1 100644 --- a/.github/workflows/release-assets.yml +++ b/.github/workflows/release-assets.yml @@ -13,6 +13,8 @@ jobs: build: name: Build (${{ matrix.os }}/${{ matrix.arch }}) runs-on: ubuntu-latest + env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true strategy: matrix: os: [linux, darwin, windows] @@ -43,6 +45,8 @@ jobs: name: Upload to Release runs-on: ubuntu-latest needs: build + env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true permissions: contents: write steps: