Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
yeweidaniel committed Jan 4, 2023
1 parent 8ae9b63 commit 62c29a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/go_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 .)
Expand Down
3 changes: 2 additions & 1 deletion build/presubmit_unit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 62c29a3

Please sign in to comment.