File tree 7 files changed +15
-79
lines changed
7 files changed +15
-79
lines changed Original file line number Diff line number Diff line change 24
24
- name : Setup Go
25
25
uses : actions/setup-go@v4
26
26
with :
27
- go-version : ' 1.21 '
27
+ go-version : ' 1.22 '
28
28
29
29
- name : Go modules cache
30
30
uses : actions/cache@v3
73
73
- name : Setup Go
74
74
uses : actions/setup-go@v4
75
75
with :
76
- go-version : ' 1.21 '
76
+ go-version : ' 1.22 '
77
77
78
78
- name : Login to GitHub Container Registry
79
79
uses : docker/login-action@v2
@@ -138,7 +138,7 @@ jobs:
138
138
- name : Setup Go
139
139
uses : actions/setup-go@v4
140
140
with :
141
- go-version : ' 1.21 '
141
+ go-version : ' 1.22 '
142
142
143
143
- name : Go modules cache
144
144
uses : actions/cache@v3
Original file line number Diff line number Diff line change 11
11
- name : Setup Go
12
12
uses : actions/setup-go@v4
13
13
with :
14
- go-version : ' 1.21 '
14
+ go-version : ' 1.22 '
15
15
16
16
- name : Check out code
17
17
uses : actions/checkout@v3
Original file line number Diff line number Diff line change 9
9
- name : Setup Go
10
10
uses : actions/setup-go@v4
11
11
with :
12
- go-version : ' 1.21 '
12
+ go-version : ' 1.22 '
13
13
14
14
- name : Check out code
15
15
uses : actions/checkout@v3
32
32
- uses : actions/setup-python@v4
33
33
- uses : actions/setup-go@v4
34
34
with :
35
- go-version : ' 1.21 '
35
+ go-version : ' 1.22 '
36
36
- name : Get golangci
37
37
run : curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.56.2
38
38
-
uses :
pre-commit/[email protected]
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ GOBIN=$(shell go env GOBIN)
27
27
endif
28
28
29
29
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
30
- ENVTEST_K8S_VERSION = 1.26
30
+ ENVTEST_K8S_VERSION = 1.29
31
31
32
32
# Setting SHELL to bash allows bash commands to be executed by recipes.
33
33
# This is a requirement for 'setup-envtest.sh' in the test target.
Original file line number Diff line number Diff line change @@ -84,7 +84,6 @@ require (
84
84
golang.org/x/time v0.5.0 // indirect
85
85
golang.org/x/tools v0.22.0 // indirect
86
86
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
87
- google.golang.org/appengine v1.6.8 // indirect
88
87
google.golang.org/protobuf v1.34.1 // indirect
89
88
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
90
89
gopkg.in/inf.v0 v0.9.1 // indirect
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ sed -i "s/^go *[1-9][0-9]*\.[0-9][0-9]*$/go $gover/" go.mod
36
36
echo " Updatign go version in github workflows"
37
37
while read f; do
38
38
echo " $f "
39
- sed -i " s/^\\ ( *go-version: \\ ) *'? [1-9][0-9]*\\ .[0-9][0-9]*'? \$ /\\ 1'${gover} '/" " $f "
40
- done < <( git grep -Pl " ^ *go-version: *'? [1-9][0-9]*\\ .[0-9][0-9]*'? \$ " .github/workflows/)
39
+ sed -i " s/^\\ ( *go-version: \\ ) *'[1-9][0-9]*\\ .[0-9][0-9]*'\$ /\\ 1'${gover} '/" " $f "
40
+ done < <( git grep -Pl " ^ *go-version: *'[1-9][0-9]*\\ .[0-9][0-9]*'\$ " .github/workflows/)
41
41
42
42
echo
43
43
echo ' Running go mod tidy (pass 1)'
@@ -142,6 +142,9 @@ if ! diff -u <(grep -vE "$ignorefields" < $bcsv) <(grep -vE "$ignorefields" < $m
142
142
exit 1
143
143
fi
144
144
145
+ echo " Updating K8s version for envtest components"
146
+ sed -i " s#ENVTEST_K8S_VERSION *= *[0-9.]*#ENVTEST_K8S_VERSION = 1.${k8sver/ v[0-9]./ } #" Makefile
147
+
145
148
echo Validating bundle
146
149
operator-sdk bundle validate ./keda/${ver}
147
150
echo
You can’t perform that action at this time.
0 commit comments