File tree 1 file changed +2
-9
lines changed
1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 6
6
7
7
env :
8
8
GOPROXY : https://proxy.golang.org
9
- GOPATH : ${{ github.workspace }}/go
10
9
11
10
jobs :
12
11
verify-goimports :
18
17
go-version : ' 1.22'
19
18
stable : true
20
19
21
- - run : |
22
- echo "GOPATH=${HOME}/go" >> $GITHUB_ENV
23
-
24
20
- uses : actions/checkout@v2
25
21
26
22
- name : verify goimports
42
38
go-version : ' 1.22'
43
39
stable : true
44
40
45
- - run : |
46
- echo "GOPATH=${HOME}/go" >> $GITHUB_ENV
47
-
48
41
- uses : actions/checkout@v2
49
42
50
43
- run : dev/format-gomod
@@ -69,10 +62,10 @@ jobs:
69
62
go-version : ' 1.22'
70
63
- name : Install latest version of Kind
71
64
run : |
72
- GO111MODULE=on go get sigs.k8s.io/kind
65
+ go build -o /usr/local/bin/kind sigs.k8s.io/kind
73
66
- name : Create Kind cluster
74
67
run : |
75
- PATH=$(go env GOPATH)/ bin:$PATH kind create cluster --config .github/workflows/kind-config.yaml
68
+ PATH=/usr/local/ bin/ :$PATH kind create cluster --config .github/workflows/kind-config.yaml
76
69
- name : Run some sanity checks
77
70
# kubectl is already installed on the Github Ubuntu worker
78
71
run : |
You can’t perform that action at this time.
0 commit comments