From cf5a83f52a9d7a126df3df606d898d56057200bf Mon Sep 17 00:00:00 2001 From: Sunny Song Date: Tue, 13 Oct 2026 21:45:30 +0000 Subject: [PATCH] ci: bump setup-go and setup-python to v7.0.0 for Node.js 24 runner support GitHub Actions runners are deprecating Node.js 20 and forcing actions targeting Node.js 20 onto Node.js 24, which causes presubmit workflows using actions/setup-go@v5.6.0 and actions/setup-python@v5.6.0 to warn or fail with exit code 1. - Bump actions/setup-go to v7.0.0 (commit b7ad1dad31e06c5925ef5d2fc7ad053ef454303e) in ci.yaml and release.yaml. - Bump actions/setup-python to v7.0.0 (commit 5fda3b95a4ea91299a34e894583c3862153e4b97) in ci.yaml. Both v7.0.0 actions run natively on Node.js 24 while maintaining exact input/output compatibility. --- .github/workflows/ci.yaml | 4 ++-- .github/workflows/release.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 898100f2..67dfcf5f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -39,7 +39,7 @@ jobs: - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0 with: persist-credentials: false - - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0 + - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: go-version-file: go.mod - run: go build ./... @@ -55,7 +55,7 @@ jobs: - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0 with: persist-credentials: false - - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 + - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 with: python-version: "3.12" - run: python -m pip install -e 'clients/python[dev]' diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1f008342..76ed8cf7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -67,7 +67,7 @@ jobs: fetch-depth: 0 persist-credentials: false - - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0 + - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: go-version-file: go.mod cache: false # a release build must not consume a cache another run could seed