From b1b9a790d9ccf1b4841c6b4f71904be8649867c4 Mon Sep 17 00:00:00 2001 From: uzulla Date: Wed, 3 Jun 2026 23:16:41 +0900 Subject: [PATCH] ci: bump GitHub Actions to Node.js 24 runtimes The v0.3.0 release run warned that checkout@v4 / setup-go@v5 / upload-artifact@v4 / download-artifact@v4 run on Node.js 20, which the runner forces to Node 24 on 2026-06-16 and removes on 2026-09-16. Bump to the latest majors (all Node 24 based): - actions/checkout v4 -> v6 - actions/setup-go v5 -> v6 - actions/upload-artifact v4 -> v7 - actions/download-artifact v4 -> v8 upload/download-artifact crossed major versions, so the build->release artifact handoff (merge-multiple) should be confirmed on the next tag release. --- .github/workflows/ci.yml | 4 ++-- .github/workflows/release.yml | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e1fa6bf..69c5c09 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,9 +9,9 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - - uses: actions/setup-go@v5 + - uses: actions/setup-go@v6 with: go-version-file: go.mod cache: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5e65103..1113437 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,9 +24,9 @@ jobs: - goos: linux goarch: amd64 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - - uses: actions/setup-go@v5 + - uses: actions/setup-go@v6 with: go-version-file: go.mod cache: true @@ -41,7 +41,7 @@ jobs: OUT="dist/shp-${GOOS}-${GOARCH}" go build -trimpath -ldflags "-s -w" -o "${OUT}" ./cmd/shp - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: name: shp-${{ matrix.goos }}-${{ matrix.goarch }} path: dist/shp-${{ matrix.goos }}-${{ matrix.goarch }} @@ -53,9 +53,9 @@ jobs: needs: build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v8 with: path: dist merge-multiple: true