Skip to content

Commit 7a399d5

Browse files
committed
Build with Go 1.25
Signed-off-by: Stefan Prodan <[email protected]>
1 parent 177f19c commit 7a399d5

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

.github/workflows/cifuzz.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup Go
1717
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
1818
with:
19-
go-version: 1.24.x
19+
go-version: 1.25.x
2020
cache-dependency-path: |
2121
**/go.sum
2222
**/go.mod

.github/workflows/e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Setup Go
3333
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
3434
with:
35-
go-version: 1.24.x
35+
go-version: 1.25.x
3636
cache-dependency-path: |
3737
**/go.sum
3838
**/go.mod

.github/workflows/scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Setup Go
3636
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
3737
with:
38-
go-version: 1.24.x
38+
go-version: 1.25.x
3939
cache-dependency-path: |
4040
**/go.sum
4141
**/go.mod

DEVELOPMENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ There are a number of dependencies required to be able to run the controller and
1616
## How to run the test suite
1717

1818
Prerequisites:
19-
* Go >= 1.24
19+
* Go >= 1.25
2020

2121
You can run the test suite by simply doing
2222

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG GO_VERSION=1.24
1+
ARG GO_VERSION=1.25
22
ARG XX_VERSION=1.6.1
33

44
FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx
@@ -30,7 +30,7 @@ COPY internal/ internal/
3030
ENV CGO_ENABLED=0
3131
RUN xx-go build -trimpath -a -o kustomize-controller main.go
3232

33-
FROM alpine:3.21
33+
FROM alpine:3.22
3434

3535
ARG TARGETPLATFORM
3636

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ api-docs: gen-crd-api-reference-docs
135135

136136
# Run go mod tidy
137137
tidy:
138-
cd api; rm -f go.sum; go mod tidy -compat=1.24
139-
rm -f go.sum; go mod tidy -compat=1.24
138+
cd api; rm -f go.sum; go mod tidy -compat=1.25
139+
rm -f go.sum; go mod tidy -compat=1.25
140140

141141
# Run go fmt against code
142142
fmt:

tests/fuzz/Dockerfile.builder

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
FROM gcr.io/oss-fuzz-base/base-builder-go
22

3-
RUN wget https://go.dev/dl/go1.24.0.linux-amd64.tar.gz \
3+
RUN wget https://go.dev/dl/go1.25.0.linux-amd64.tar.gz \
44
&& mkdir temp-go \
55
&& rm -rf /root/.go/* \
6-
&& tar -C temp-go/ -xzf go1.24.0.linux-amd64.tar.gz \
6+
&& tar -C temp-go/ -xzf go1.25.0.linux-amd64.tar.gz \
77
&& mv temp-go/go/* /root/.go/
88

99
ENV SRC=$GOPATH/src/github.com/fluxcd/kustomize-controller

0 commit comments

Comments
 (0)