Skip to content

Commit 6359c80

Browse files
authored
feat: bump go to 1.25.3 (#1894)
* feat: bump go to 1.25.3 Signed-off-by: Alessio Pragliola <seth.pro@gmail.com> * chore: pin images to 1.25.3 Signed-off-by: Alessio Pragliola <seth.pro@gmail.com> * fix: bump go tooling Signed-off-by: Alessio Pragliola <seth.pro@gmail.com> --------- Signed-off-by: Alessio Pragliola <seth.pro@gmail.com>
1 parent ad4a41c commit 6359c80

18 files changed

Lines changed: 47 additions & 75 deletions

File tree

.github/workflows/build.yml

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@v6
3131
with:
32-
go-version: "1.24"
32+
go-version: "1.25.3"
3333
- name: Build
3434
run: make build/compile
3535
- name: Registry unit tests

.github/workflows/check-db-schema-structs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup Go
1919
uses: actions/setup-go@v6
2020
with:
21-
go-version: "1.24.4"
21+
go-version: "1.25.3"
2222
- name: Generate MySQL DB schema structs
2323
run: make gen/gorm/mysql
2424
- name: Check if there are uncommitted file changes
@@ -38,7 +38,7 @@ jobs:
3838
- name: Setup Go
3939
uses: actions/setup-go@v6
4040
with:
41-
go-version: "1.24.4"
41+
go-version: "1.25.3"
4242
- name: Generate PostgreSQL DB schema structs
4343
run: make gen/gorm/postgres
4444
- name: Check if there are uncommitted file changes

.github/workflows/controller-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Setup Go
4545
uses: actions/setup-go@v6
4646
with:
47-
go-version: '1.24'
47+
go-version: "1.25.3"
4848

4949
- name: Running Tests
5050
run: |

.github/workflows/go-mod-tidy-diff-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Set up Go
2222
uses: actions/setup-go@v6
2323
with:
24-
go-version: '1.24'
24+
go-version: "1.25.3"
2525

2626
- name: Cache Go modules
2727
uses: actions/cache@v4

.github/workflows/prepare.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Setup Go
1313
uses: actions/setup-go@v6
1414
with:
15-
go-version: "1.24"
15+
go-version: "1.25.3"
1616
- name: Prepare
1717
run: make clean build/prepare
1818
- name: Check if there are uncommitted file changes

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the model-registry binary
2-
FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi9/go-toolset:1.24 AS common
2+
FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi9/go-toolset:1.25 AS common
33
ARG TARGETOS
44
ARG TARGETARCH
55

Dockerfile.odh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the model-registry binary
2-
FROM registry.access.redhat.com/ubi9/go-toolset:1.24 AS builder
2+
FROM registry.access.redhat.com/ubi9/go-toolset:1.25 AS builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests and workspace file

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,11 @@ bin/envtest:
173173

174174
GOLANGCI_LINT ?= ${PROJECT_BIN}/golangci-lint
175175
bin/golangci-lint:
176-
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(PROJECT_BIN) v2.0.2
176+
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(PROJECT_BIN) v2.6.2
177177

178178
GOVERTER ?= ${PROJECT_BIN}/goverter
179179
bin/goverter:
180-
GOBIN=$(PROJECT_PATH)/bin ${GO} install github.com/jmattheis/goverter/cmd/goverter@v1.8.1
180+
GOBIN=$(PROJECT_PATH)/bin ${GO} install github.com/jmattheis/goverter/cmd/goverter@v1.9.2
181181

182182
YQ ?= ${PROJECT_BIN}/yq
183183
bin/yq:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Model registry provides a central repository for model developers to store and m
4646
8. [UI](clients/ui/README.md)
4747

4848
## Pre-requisites:
49-
- go >= 1.24
49+
- go >= 1.25
5050
- protoc v24.3 - [Protocol Buffers v24.3 Release](https://github.com/protocolbuffers/protobuf/releases/tag/v24.3)
5151
- npm >= 10.2.0 - [Installing Node.js and npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
5252
- Java >= 11.0

catalog/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ catalogs:
7878
## Development
7979
8080
### Prerequisites
81-
- Go >= 1.24
81+
- Go >= 1.25
8282
- Java >= 11.0 (for OpenAPI generation)
8383
- Node.js >= 20.0.0 (for GraphQL schema downloads)
8484

0 commit comments

Comments
 (0)