From 62c29a38a54100cbfebe676a9397a2126367e30b Mon Sep 17 00:00:00 2001 From: Wei Zhong Ye Date: Wed, 4 Jan 2023 15:34:44 -0500 Subject: [PATCH] Test --- build/go_check.sh | 2 +- build/presubmit_unit.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build/go_check.sh b/build/go_check.sh index dd9a52dea..d5683d225 100755 --- a/build/go_check.sh +++ b/build/go_check.sh @@ -24,7 +24,7 @@ curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/insta # Install golint. # Switch directories to avoid changing go.mod and go.sum files (see https://stackoverflow.com/a/57313319). -(cd / && go get -u golang.org/x/lint/golint) +(cd / && go install golang.org/x/lint/golint@latest) # Check format f=$(gofmt -l .) diff --git a/build/presubmit_unit.yaml b/build/presubmit_unit.yaml index ffa633f0c..f5c2b1a73 100644 --- a/build/presubmit_unit.yaml +++ b/build/presubmit_unit.yaml @@ -13,8 +13,9 @@ # limitations under the License. # Terraform version used is 0.14.8. +# Test substitutions: - _CFT_TOOLS_CONTAINER: "gcr.io/cloud-foundation-cicd/cft/developer-tools@sha256:8b0d85766044b0e4701729f9e70ee78dcecdb8688bd86915eb2a1cb00580ba1e" + _CFT_TOOLS_CONTAINER: "gcr.io/cloud-foundation-cicd/cft/developer-tools@sha256:45b27ee6ca7736b14d07ec0a3d5c4384d2943b5683e35ab4c1a6716afd9409a2" options: env: ["GOPATH=/go"]