File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 12
12
13
13
env :
14
14
GO_TOOLCHAIN : " golang"
15
- GO_VERSION : " 1.21.6"
16
15
# TODO: match BASEIMAGE with Makefile default (nonroot variant)
17
16
BASEIMAGE : " gcr.io/distroless/static-debian11"
18
17
KIND_CLUSTER_NAME : " kind"
@@ -22,15 +21,13 @@ jobs:
22
21
name : build
23
22
runs-on : ubuntu-20.04
24
23
steps :
24
+ - name : Check out code
25
+ uses : actions/checkout@v4
25
26
- name : Set up Go
26
27
uses : actions/setup-go@v5
27
28
with :
28
- go-version : ${{ env.GO_VERSION }}
29
+ go-version-file : go.mod
29
30
id : go
30
-
31
- - name : Check out code
32
- uses : actions/checkout@v4
33
-
34
31
- name : Build
35
32
run : |
36
33
mkdir _output
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ ALL_ARCH ?= amd64 arm arm64 ppc64le s390x
24
24
# The output type could either be docker (local), or registry.
25
25
OUTPUT_TYPE ?= docker
26
26
GO_TOOLCHAIN ?= golang
27
- GO_VERSION ?= 1.21.9
27
+ GO_VERSION ?= 1.22.2
28
28
BASEIMAGE ?= gcr.io/distroless/static-debian11:nonroot
29
29
30
30
ifeq ($(GOPATH ) ,)
Original file line number Diff line number Diff line change 1
1
module sigs.k8s.io/apiserver-network-proxy
2
2
3
- go 1.21
3
+ go 1.22
4
4
5
5
require (
6
6
github.com/google/uuid v1.6.0
You can’t perform that action at this time.
0 commit comments