fix: add goimports installation to project script
Some checks failed
CI Workflow / Check GoReleaser config (pull_request) Successful in 6s
CI Workflow / CI run tests (pull_request) Failing after 13m58s
CI Workflow / CI run build and linting (pull_request) Failing after 13m47s
CI Workflow / Code coverage report (pull_request) Has been skipped
CI Workflow / Test readiness for publishing provider (pull_request) Failing after 21m5s
Some checks failed
CI Workflow / Check GoReleaser config (pull_request) Successful in 6s
CI Workflow / CI run tests (pull_request) Failing after 13m58s
CI Workflow / CI run build and linting (pull_request) Failing after 13m47s
CI Workflow / Code coverage report (pull_request) Has been skipped
CI Workflow / Test readiness for publishing provider (pull_request) Failing after 21m5s
This commit is contained in:
parent
e088ed2c7d
commit
71b7c69f10
30 changed files with 169 additions and 1568 deletions
|
|
@ -17,13 +17,7 @@ elif [ "$action" = "tools" ]; then
|
|||
|
||||
go mod download
|
||||
|
||||
# go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.62.0
|
||||
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.7.2
|
||||
|
||||
# go install github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs@v0.21.0
|
||||
go install github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs@v0.24.0
|
||||
|
||||
go install golang.org/x/tools/cmd/goimports@0.42.0
|
||||
go install golang.org/x/tools/cmd/goimports@v0.42.0
|
||||
else
|
||||
echo "Invalid action: '$action', please use $0 help for help"
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -14,5 +14,5 @@ fi
|
|||
mkdir -p ${ROOT_DIR}/docs
|
||||
|
||||
echo ">> Generating documentation"
|
||||
tfplugindocs generate \
|
||||
go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs generate \
|
||||
--provider-name "stackitprivatepreview"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue