From 868caa438ec21b8da026f79a11a703b220157f72 Mon Sep 17 00:00:00 2001 From: Juan Manuel Elosegui Date: Sun, 26 Apr 2026 21:56:42 -0400 Subject: [PATCH] ci: bump GitHub Actions to Node 24-compatible majors Node.js 20 was deprecated on GitHub-hosted runners (https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/), so the v0.1.0 release run logged a deprecation warning for every Node 20 action it pulled in. Bump to the current major versions that ship with the Node 24 runtime: actions/checkout v4 -> v6 actions/setup-go v5 -> v6 goreleaser/goreleaser-action v6 -> v7 golangci/golangci-lint-action v8 -> v9 Inputs are unchanged for the configurations we use. setup-go v6 requires runner v2.327.1 or newer; GitHub-hosted runners are kept current so this is satisfied. Two action references are intentionally left untouched: - snapcore/action-build@v1 still ships node20 upstream; no Node 24 release exists yet. - vedantmgoyal2009/winget-releaser@v2 is a composite action and has no Node runtime, so the deprecation does not apply. --- .github/workflows/ci.yml | 4 ++-- .github/workflows/golangci-lint.yml | 6 +++--- .github/workflows/release.yml | 6 +++--- .github/workflows/snapcraft.yml | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6370106..6d6d052 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,10 +18,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: ${{ matrix.go }} diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 69eff55..f1d1490 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -21,11 +21,11 @@ jobs: name: lint runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 + - uses: actions/checkout@v6 + - uses: actions/setup-go@v6 with: go-version: ${{ matrix.go }} - name: golangci-lint - uses: golangci/golangci-lint-action@v8 + uses: golangci/golangci-lint-action@v9 with: version: v2.1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 76fe046..403b9fc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,17 +13,17 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 - name: Setup Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: '1.24.x' - name: Release - uses: goreleaser/goreleaser-action@v6 + uses: goreleaser/goreleaser-action@v7 with: version: v2.7.0 distribution: goreleaser diff --git a/.github/workflows/snapcraft.yml b/.github/workflows/snapcraft.yml index c24d986..5cc09bd 100644 --- a/.github/workflows/snapcraft.yml +++ b/.github/workflows/snapcraft.yml @@ -11,7 +11,7 @@ jobs: env: SNAP_VERSION: ${{ github.ref_name }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Install Snapcraft uses: snapcore/action-build@v1