Skip to content

Commit 8bbbc5b

Browse files
chore: bump Go to 1.25 (#226)
* chore: bump Go to 1.25 Signed-off-by: Joshua Temple <joshua.temple@stablekernel.com> * chore: update remaining Go 1.23 pins to 1.25 Signed-off-by: Joshua Temple <joshua.temple@stablekernel.com> * ci: move to golangci-lint v2 for go 1.25 support Signed-off-by: Joshua Temple <joshua.temple@stablekernel.com> --------- Signed-off-by: Joshua Temple <joshua.temple@stablekernel.com>
1 parent 903fac3 commit 8bbbc5b

9 files changed

Lines changed: 22 additions & 23 deletions

File tree

‎.github/workflows/build-cli.yaml‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
2929
with:
30-
go-version: '1.23'
30+
go-version: '1.25'
3131
cache: true
3232

3333
- name: Build binary
@@ -56,10 +56,9 @@ jobs:
5656

5757
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
5858
with:
59-
# This job runs the e2e module (go 1.24); install the Go it declares
60-
# so `go test` doesn't hard-fail under GOTOOLCHAIN=local with
61-
# "go.mod requires go >= 1.24.0". The root build job above stays on
62-
# the root go.mod's 1.23.
59+
# This job runs the e2e module; install the Go it declares so `go test`
60+
# doesn't hard-fail under GOTOOLCHAIN=local. The root build job above
61+
# uses the root go.mod's version (1.25).
6362
go-version-file: e2e/go.mod
6463
cache: true
6564
cache-dependency-path: e2e/go.sum

‎.github/workflows/pr.yaml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353

5454
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
5555
with:
56-
go-version: '1.23'
56+
go-version: '1.25'
5757
cache: true
5858

5959
- name: Run unit tests
@@ -77,13 +77,13 @@ jobs:
7777

7878
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
7979
with:
80-
go-version: '1.23'
80+
go-version: '1.25'
8181
cache: true
8282

8383
- name: Run golangci-lint
84-
uses: golangci/golangci-lint-action@d6238b002a20823d52840fda27e2d4891c5952dc # v4
84+
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8
8585
with:
86-
version: latest
86+
version: v2.10.1
8787

8888
workflow-drift:
8989
name: Workflow Drift Check
@@ -93,7 +93,7 @@ jobs:
9393

9494
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
9595
with:
96-
go-version: '1.23'
96+
go-version: '1.25'
9797
cache: true
9898

9999
- name: Build cascade CLI

‎.github/workflows/release.yaml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ jobs:
4040
- name: Set up Go
4141
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
4242
with:
43-
go-version: "1.23"
43+
go-version: "1.25"
4444

4545
- name: Run tests
4646
run: go test -v ./...
4747

4848
- name: Run linter
49-
uses: golangci/golangci-lint-action@55c2c1448f86e01eaae002a5a3a9624417608d84 # v6
49+
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8
5050
with:
51-
version: latest
51+
version: v2.10.1
5252

5353
release:
5454
name: Release
@@ -62,7 +62,7 @@ jobs:
6262
- name: Set up Go
6363
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
6464
with:
65-
go-version: "1.23"
65+
go-version: "1.25"
6666

6767
- name: Run GoReleaser
6868
uses: goreleaser/goreleaser-action@5daf1e915a5f0af01ddbcd89a43b8061ff4f1a89 # v7.2.2

‎.github/workflows/validate.yaml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141

4242
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
4343
with:
44-
go-version: '1.23'
44+
go-version: '1.25'
4545
cache: true
4646

4747
- name: Run tests
@@ -61,13 +61,13 @@ jobs:
6161

6262
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
6363
with:
64-
go-version: '1.23'
64+
go-version: '1.25'
6565
cache: true
6666

6767
- name: Run golangci-lint
68-
uses: golangci/golangci-lint-action@d6238b002a20823d52840fda27e2d4891c5952dc # v4
68+
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8
6969
with:
70-
version: latest
70+
version: v2.10.1
7171

7272
validate:
7373
name: Validation Gate

‎Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build stage
2-
FROM golang:1.23-alpine AS builder
2+
FROM golang:1.25-alpine AS builder
33

44
WORKDIR /build
55

‎docs/src/content/docs/adoption.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The flow in one line: you write a manifest plus callback workflows, run `cascade
1818
- **GitHub Actions enabled** on the repository, with trunk-based development (a single primary branch).
1919
- **Conventional Commits - required.** cascade derives the semver bump, the changelog, and breaking-change detection entirely from Conventional Commit messages. This is not optional. Commits that do not follow the convention are not processed correctly and version derivation can fail. See [Versioning and schema compatibility](/cascade/versioning/).
2020
- **GitHub setup**: environments for each deploy stage, branch and tag protection, the secrets your callbacks consume, and scoped tokens. The [Security and Hardening](/cascade/security/hardening/) checklist is the authoritative list; wire it up before your first production promotion.
21-
- The `cascade` CLI for local generation (Go 1.23+ to `go install`; in Actions, the setup action installs it for you). See [Getting Started](/cascade/getting-started/).
21+
- The `cascade` CLI for local generation (Go 1.25+ to `go install`; in Actions, the setup action installs it for you). See [Getting Started](/cascade/getting-started/).
2222

2323
## Build a pipeline from scratch
2424

‎docs/src/content/docs/callback-contract.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ jobs:
315315

316316
- uses: actions/setup-go@v5
317317
with:
318-
go-version: "1.23"
318+
go-version: "1.25"
319319

320320
- name: Lint
321321
if: ${{ inputs.check_lint }}

‎docs/src/content/docs/getting-started.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This guide walks through setting up `cascade` in your repository.
77

88
## Prerequisites
99

10-
- Go 1.23+ (for the CLI)
10+
- Go 1.25+ (for the CLI)
1111
- A GitHub repository with Actions enabled
1212
- Trunk-based development (single primary branch)
1313

‎go.mod‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/stablekernel/cascade
22

3-
go 1.23
3+
go 1.25
44

55
require (
66
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2

0 commit comments

Comments
 (0)