diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 14a113c..8b075b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,10 +41,10 @@ jobs: GOTOOLCHAIN: ${{ matrix.target == 'floor' && 'local' || 'auto' }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Go ${{ matrix.go-version }} - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: ${{ matrix.go-version }} cache: true @@ -89,12 +89,12 @@ jobs: name: golangci-lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 + - uses: actions/checkout@v6 + - uses: actions/setup-go@v6 with: go-version: "1.27.3" cache: true - - uses: golangci/golangci-lint-action@v7 + - uses: golangci/golangci-lint-action@v9 with: version: v2.14.0 # Build golangci-lint with the job's Go toolchain (1.27.3). The prebuilt @@ -113,8 +113,8 @@ jobs: name: govulncheck runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 + - uses: actions/checkout@v6 + - uses: actions/setup-go@v6 with: go-version: "1.27.3" cache: true diff --git a/.github/workflows/conformance.yml b/.github/workflows/conformance.yml index a2723be..e0711a9 100644 --- a/.github/workflows/conformance.yml +++ b/.github/workflows/conformance.yml @@ -59,11 +59,11 @@ jobs: SOCRATE_REF: ${{ inputs.socrate_ref || 'main' }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: path: backendkit - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: repository: ovander/go-oauth2 ref: ${{ env.SOCRATE_REF }} @@ -80,7 +80,7 @@ jobs: echo "Socrate $(git -C socrate rev-parse --short HEAD) ($SOCRATE_REF)" >> "$GITHUB_STEP_SUMMARY" - name: Set up Go ${{ steps.go.outputs.socrate }} (Socrate) - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: ${{ steps.go.outputs.socrate }} cache: true @@ -97,7 +97,7 @@ jobs: go build -o "$RUNNER_TEMP/socrate" ./cmd/server - name: Set up Go ${{ steps.go.outputs.backendkit }} (backendkit) - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: ${{ steps.go.outputs.backendkit }} cache: false @@ -126,7 +126,7 @@ jobs: - name: Upload the Socrate log if: failure() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: socrate-server-log path: ${{ env.CONFORMANCE_WORKDIR }}/server.log @@ -142,7 +142,7 @@ jobs: permissions: issues: write steps: - - uses: actions/github-script@v7 + - uses: actions/github-script@v8 env: SOCRATE_REF: ${{ inputs.socrate_ref || 'main' }} with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 805a1bf..364ab7b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: # Full history + tags so the changelog step can resolve the previous # tag and `git log ..HEAD` produces complete release notes @@ -38,7 +38,7 @@ jobs: fi - name: Create GitHub Release - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 with: name: ${{ steps.tag.outputs.TAG_NAME }} body_path: CHANGELOG_TEMP.md \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 455dbed..53924e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,17 @@ All notable changes to backendkit are documented here. Format: line, the floor importers need, stays at 1.26.0; importers pick up the fix by building with Go 1.27.3 or later. No API change. +### Changed +- **CI: GitHub Actions on Node 24.** Node 20 actions are deprecated and removed from GitHub's + runners, so each workflow now uses: + - `actions/checkout@v6`, `actions/setup-go@v6` and `actions/upload-artifact@v6`; + - `actions/github-script@v8`; + - `golangci/golangci-lint-action@v9` (same inputs; golangci-lint is still built with the + job's Go); + - `softprops/action-gh-release@v3`. + + No change to the library or its API. + ## [1.27.0] - 2026-10-11 Minor release on the **v1** line: additive API only. `socrate.Client.ServiceTokenWithScopes`