Skip to content

Commit a6983bc

Browse files
committed
Build with Go 1.25
Signed-off-by: Stefan Prodan <[email protected]>
1 parent 1a486f6 commit a6983bc

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

.github/workflows/cifuzz.yaml

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

.github/workflows/e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Setup Go
3030
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
3131
with:
32-
go-version: 1.24.x
32+
go-version: 1.25.x
3333
cache-dependency-path: |
3434
**/go.sum
3535
**/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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ There are a number of dependencies required to be able to run the controller and
1515

1616
In addition to the above, the following dependencies are also used by some of the `make` targets:
1717

18-
- `controller-gen` (v0.7.0)
18+
- `controller-gen` (v0.19.0)
1919
- `gen-crd-api-reference-docs` (v0.3.0)
2020
- `setup-envtest` (latest)
2121

@@ -24,7 +24,7 @@ If any of the above dependencies are not present on your system, the first invoc
2424
## How to run the test suite
2525

2626
Prerequisites:
27-
- Go >= 1.24
27+
- Go >= 1.25
2828

2929
You can run the test suite by simply doing:
3030

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 notification-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
@@ -93,8 +93,8 @@ api-docs: gen-crd-api-reference-docs
9393

9494
# Run go mod tidy
9595
tidy:
96-
cd api; rm -f go.sum; go mod tidy -compat=1.24
97-
rm -f go.sum; go mod tidy -compat=1.24
96+
cd api; rm -f go.sum; go mod tidy -compat=1.25
97+
rm -f go.sum; go mod tidy -compat=1.25
9898

9999
# Run go fmt against code
100100
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/notification-controller

0 commit comments

Comments
 (0)