File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 88env :
99 DOCKER_FILE_PATH : Dockerfile
1010 GOLANG_VERSION : 1.16
11- KUBERNETES_VERSION : " 1.18.0"
12- KIND_VERSION : " 0.7.0"
11+ KUBERNETES_VERSION : " 1.20.2"
12+ KIND_VERSION : " 0.10.0"
13+ GOLANG_CI_LINT_VERSION : v1.39.0
1314
1415jobs :
1516 build :
3031
3132 - name : Lint
3233 run : |
33- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.26.0
34+ curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${{ env.GOLANG_CI_LINT_VERSION }}
3435 golangci-lint run --timeout=10m ./...
3536
3637 - name : Install kubectl
Original file line number Diff line number Diff line change 1010 GOLANG_VERSION : 1.16
1111 OPERATOR_SDK_VERSION : " 1.2.0"
1212 KUSTOMIZE_VERSION : " 3.5.4"
13- KUBERNETES_VERSION : " 1.18.0"
14- KIND_VERSION : " 0.7.0"
13+ KUBERNETES_VERSION : " 1.20.2"
14+ KIND_VERSION : " 0.10.0"
15+ GOLANG_CI_LINT_VERSION : v1.39.0
1516
1617jobs :
1718 build :
3435
3536 - name : Lint
3637 run : |
37- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.26.0
38+ curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${{ env.GOLANG_CI_LINT_VERSION }}
3839 golangci-lint run --timeout=10m ./...
3940
4041 - name : Install kubectl
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ func TestAPIs(t *testing.T) {
6161}
6262
6363var _ = BeforeSuite (func (done Done ) {
64- log = zap .LoggerTo ( GinkgoWriter , true )
64+ log = zap .New ( zap . UseDevMode ( true ), zap . WriteTo ( GinkgoWriter ) )
6565 logf .SetLogger (log )
6666
6767 By ("bootstrapping test environment" )
You can’t perform that action at this time.
0 commit comments