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
@@ -68,10 +61,10 @@ jobs:
68
61
go-version : ' 1.22'
69
62
- name : Install latest version of Kind
70
63
run : |
71
- GO111MODULE=on go get sigs.k8s.io/kind
64
+ go build -o /usr/local/bin/kind sigs.k8s.io/kind
72
65
- name : Create Kind cluster
73
66
run : |
74
- PATH=$(go env GOPATH)/ bin:$PATH kind create cluster --config .github/workflows/kind-config.yaml
67
+ PATH=/usr/local/ bin/ :$PATH kind create cluster --config .github/workflows/kind-config.yaml
75
68
- name : Run some sanity checks
76
69
# kubectl is already installed on the Github Ubuntu worker
77
70
run : |
You can’t perform that action at this time.
0 commit comments