Skip to content

Commit

Permalink
Update golang to 1.22.
Browse files Browse the repository at this point in the history
(Defer konnectivity-client to separate PR).
  • Loading branch information
jkh52 committed May 3, 2024
1 parent 25c6269 commit 123927a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ on:

env:
GO_TOOLCHAIN: "golang"
GO_VERSION: "1.21.6"
# TODO: match BASEIMAGE with Makefile default (nonroot variant)
BASEIMAGE: "gcr.io/distroless/static-debian11"
KIND_CLUSTER_NAME: "kind"
Expand All @@ -25,7 +24,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: go.mod
id: go

- name: Check out code
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ALL_ARCH ?= amd64 arm arm64 ppc64le s390x
# The output type could either be docker (local), or registry.
OUTPUT_TYPE ?= docker
GO_TOOLCHAIN ?= golang
GO_VERSION ?= 1.21.9
GO_VERSION ?= 1.22.2
BASEIMAGE ?= gcr.io/distroless/static-debian11:nonroot

ifeq ($(GOPATH),)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module sigs.k8s.io/apiserver-network-proxy

go 1.21
go 1.22

require (
github.com/google/uuid v1.6.0
Expand Down

0 comments on commit 123927a

Please sign in to comment.