From 199203b2ab202e5aa3b4b93a92cc8beb474aa761 Mon Sep 17 00:00:00 2001 From: Yoriyasu Yano <430092+yorinasub17@users.noreply.github.com> Date: Tue, 12 Apr 2022 09:01:09 -0500 Subject: [PATCH] Install goimports with go install (#1099) * Install goimports with go install * Install gox using go install --- .circleci/config.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0ff86cc8c..859ffce0b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -119,7 +119,7 @@ jobs: - run: name: run precommit command: | - go get golang.org/x/tools/cmd/goimports + go install golang.org/x/tools/cmd/goimports@latest # Install the latest minor version for v2 pip install pre-commit~=2.9 pre-commit install @@ -136,6 +136,8 @@ jobs: # environment so it pulls in what it needs. go mod tidy + go install github.com/mitchellh/gox@latest + GO_ENABLED=0 build-go-binaries \ --parallel "$BIN_BUILD_PARALLELISM" \ --app-name terratest_log_parser \