Skip to content

Commit

Permalink
Upgrade go version to 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
DharmitD committed Jun 16, 2024
1 parent 4dab191 commit e9a1058
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 1.20.x
go-version: 1.21.x
- name: Checkout code
uses: actions/checkout@v4
- name: "run go unit tests"
Expand Down
2 changes: 1 addition & 1 deletion api/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kubeflow/pipelines/api

go 1.16
go 1.21

require (
google.golang.org/genproto v0.0.0-20211026145609-4688e4c4e024
Expand Down
2 changes: 1 addition & 1 deletion backend/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

# Generate client code (go & json) from API protocol buffers
FROM golang:1.20 as generator
FROM golang:1.21 as generator
ENV GRPC_GATEWAY_VERSION v1.9.6
ENV GO_SWAGGER_VERSION v0.18.0
ENV GOLANG_PROTOBUF_VERSION v1.5.1
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,6 @@ replace (
sigs.k8s.io/controller-tools => sigs.k8s.io/controller-tools v0.2.9
)

go 1.20
go 1.21

exclude github.com/mitchellh/osext v0.0.0-20151018003038-5e2d6d41470f
2 changes: 2 additions & 0 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions kubernetes_platform/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
module github.com/kubeflow/pipelines/kubernetes_platform

go 1.16
go 1.21

require (
google.golang.org/genproto v0.0.0-20211026145609-4688e4c4e024
google.golang.org/protobuf v1.27.1
)
require google.golang.org/protobuf v1.27.1

require golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
9 changes: 9 additions & 0 deletions kubernetes_platform/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/tools/project-cleaner/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kubeflow/pipelines/test/tools/project-cleaner

go 1.16
go 1.21

require (
cloud.google.com/go v0.89.0 // indirect
Expand Down
10 changes: 7 additions & 3 deletions third_party/ml-metadata/go.mod
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
module github.com/kubeflow/pipelines/third_party/ml-metadata

go 1.16
go 1.21

require (
google.golang.org/grpc v1.43.0
google.golang.org/protobuf v1.27.1
)

require (
github.com/golang/protobuf v1.5.2 // indirect
golang.org/x/net v0.0.0-20211216030914-fe4d6282115f // indirect
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e // indirect
golang.org/x/text v0.3.7 // indirect
google.golang.org/genproto v0.0.0-20211221231510-d629cc9a93d5 // indirect
google.golang.org/grpc v1.43.0
google.golang.org/protobuf v1.27.1
)
2 changes: 0 additions & 2 deletions third_party/ml-metadata/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e9a1058

Please sign in to comment.