From 661c8f76c928db14278ac9bdf77e7018ee9536ff Mon Sep 17 00:00:00 2001 From: Dawid Zbinski Date: Mon, 16 Mar 2026 16:05:56 +0100 Subject: [PATCH] ci: bump GitHub Actions versions for Node.js 20 deprecation Bump action versions across all workflows to ensure compatibility with the upcoming Node.js 24 default (June 2nd, 2026): - actions/checkout v4 -> v5 - actions/setup-go v5 -> v6 - actions/upload-artifact v4 -> v5 - actions/download-artifact v4 -> v5 - golangci/golangci-lint-action v7 -> v9 Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/deploy.yml | 4 ++-- .github/workflows/release.yml | 14 +++++++------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6951444..3757871 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,10 +8,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Set up Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: '1.26' @@ -22,14 +22,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Set up Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: '1.26' - name: Run golangci-lint - uses: golangci/golangci-lint-action@v7 + uses: golangci/golangci-lint-action@v9 with: version: v2.10.1 diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1e08196..8bb0264 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -9,10 +9,10 @@ jobs: if: startsWith(github.ref, 'refs/tags/v') steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Set up Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: '1.26' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7954acb..0eec610 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: if: github.ref == 'refs/heads/main' steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 @@ -34,7 +34,7 @@ jobs: echo "Next version: $NEXT_VERSION" - name: Set up Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: '1.26' @@ -60,7 +60,7 @@ jobs: done - name: Upload build artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: binaries path: dist/ @@ -75,7 +75,7 @@ jobs: needs: build steps: - name: Download build artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v5 with: name: binaries path: dist/ @@ -144,7 +144,7 @@ jobs: done - name: Upload signed artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: binaries-signed path: dist/ @@ -155,12 +155,12 @@ jobs: needs: [build, sign-macos] steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 - name: Download signed artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v5 with: name: binaries-signed path: dist/