Skip to content

Commit 18badd7

Browse files
committed
Build with Go 1.25
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
1 parent 321957c commit 18badd7

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

.github/workflows/cifuzz.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Setup Go
2222
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
2323
with:
24-
go-version: 1.24.x
24+
go-version: 1.25.x
2525
cache-dependency-path: |
2626
**/go.sum
2727
**/go.mod

.github/workflows/e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Setup Go
2525
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
2626
with:
27-
go-version: 1.24.x
27+
go-version: 1.25.x
2828
cache-dependency-path: |
2929
**/go.sum
3030
**/go.mod

.github/workflows/scan.yaml

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

.github/workflows/tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Setup Go
2525
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
2626
with:
27-
go-version: 1.24.x
27+
go-version: 1.25.x
2828
cache-dependency-path: |
2929
**/go.sum
3030
**/go.mod
@@ -45,7 +45,7 @@ jobs:
4545
- name: Setup Go
4646
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
4747
with:
48-
go-version: 1.24.x
48+
go-version: 1.25.x
4949
cache-dependency-path: |
5050
**/go.sum
5151
**/go.mod

.github/workflows/verify.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Setup Go
2424
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
2525
with:
26-
go-version: 1.24.x
26+
go-version: 1.25.x
2727
cache-dependency-path: |
2828
**/go.sum
2929
**/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.12.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
@@ -35,7 +35,7 @@ ARG TARGETARCH
3535
ENV CGO_ENABLED=0
3636
RUN xx-go build -trimpath -a -o source-controller main.go
3737

38-
FROM alpine:3.21
38+
FROM alpine:3.22
3939

4040
ARG TARGETPLATFORM
4141
RUN apk --no-cache add ca-certificates \

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ api-docs: gen-crd-api-reference-docs ## Generate API reference documentation
118118
$(GEN_CRD_API_REFERENCE_DOCS) -api-dir=./api/v1 -config=./hack/api-docs/config.json -template-dir=./hack/api-docs/template -out-file=./docs/api/v1/source.md
119119

120120
tidy: ## Run go mod tidy
121-
cd api; rm -f go.sum; go mod tidy -compat=1.24
122-
rm -f go.sum; go mod tidy -compat=1.24
121+
cd api; rm -f go.sum; go mod tidy -compat=1.25
122+
rm -f go.sum; go mod tidy -compat=1.25
123123

124124
fmt: ## Run go fmt against code
125125
go fmt ./...

0 commit comments

Comments
 (0)