Skip to content

Commit 5f81248

Browse files
authored
Update Go to 1.25 (#263)
* Update Go to 1.25 * Update golangci-lint for 1.25 support
1 parent ce9f41a commit 5f81248

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
persist-credentials: false
1717
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
1818
with:
19-
go-version: '1.24'
19+
go-version: '1.25'
2020
check-latest: true
2121
- run: make rollout-operator
2222

@@ -28,7 +28,7 @@ jobs:
2828
persist-credentials: false
2929
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
3030
with:
31-
go-version: '1.24'
31+
go-version: '1.25'
3232
check-latest: true
3333
- run: make test
3434
- run: make test-boringcrypto
@@ -41,7 +41,7 @@ jobs:
4141
persist-credentials: false
4242
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
4343
with:
44-
go-version: '1.24'
44+
go-version: '1.25'
4545
check-latest: true
4646
- run: make build-image
4747
- run: make integration
@@ -54,7 +54,7 @@ jobs:
5454
persist-credentials: false
5555
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
5656
with:
57-
go-version: '1.24'
57+
go-version: '1.25'
5858
check-latest: true
5959
- run: make build-image-boringcrypto
6060
- run: make integration
@@ -67,9 +67,9 @@ jobs:
6767
persist-credentials: false
6868
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
6969
with:
70-
go-version: '1.24'
70+
go-version: '1.25'
7171
check-latest: true
7272
- uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8
7373
with:
74-
version: v2.1.6
74+
version: v2.4.0
7575
args: --timeout=5m

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## main / unreleased
44

55
* [CHANGE] Rename flag `server.cluster-validation.http.exclude-paths` to `server.cluster-validation.http.excluded-paths` to align with `dskit`. #247
6+
* [ENHANCEMENT] Update Go to `1.25` #263
67
* [ENHANCEMENT] Updated dependencies, including: #236 #238 #242 #247 #257
78
* `github.com/prometheus/client_golang` from `v1.22.0` to `v1.23.0`
89
* `github.com/prometheus/common` from `v0.64.0` to `v0.65.0`

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG BASEIMAGE=gcr.io/distroless/static-debian12:nonroot
22

3-
FROM golang:1.24-bookworm AS build
3+
FROM golang:1.25-bookworm AS build
44

55
ARG TARGETOS
66
ARG TARGETARCH

go.mod

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

3-
go 1.24.0
3+
go 1.25.0
44

55
require (
66
github.com/facette/natsort v0.0.0-20181210072756-2cd4dd1e2dcb

0 commit comments

Comments
 (0)