From 89260739b5d31f090d37a717fcc6670dfee2988c Mon Sep 17 00:00:00 2001 From: Daichi Hirata Date: Thu, 21 May 2026 19:28:59 +0900 Subject: [PATCH] chore(ci): bump actions to Node 24-ready versions and pin goreleaser GitHub Actions is removing Node.js 20 from the runner on 2026-09-16 and forcing Node.js 24 as the default on 2026-06-02. Bump every third-party action used in CI to a version whose action.yml declares `using: node24`: - actions/checkout v4 -> v6 - actions/setup-go v5 -> v6 - docker/login-action v3 -> v4 - goreleaser/goreleaser-action v6 -> v7 Also pin the goreleaser binary version itself from `latest` to `'~> v2'` so a future goreleaser major release does not silently break the release pipeline. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/release.yaml | 10 +++++----- .github/workflows/test.yaml | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 30031ac..4ab48ea 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -8,23 +8,23 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: '1.25' - name: Login to GitHub Container Registry - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v6 + uses: goreleaser/goreleaser-action@v7 with: - version: latest + version: '~> v2' args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index b4cc824..ff425ca 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -8,9 +8,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: '1.25' - name: Verify go.mod is tidy