mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 10:12:35 +00:00
* backport all gha migration changes to release/1.13.x * remove the .circleci directory * remove references to circleci configuration from pre-commit hook * remove reference to .circleci in Makefile * port change to how gofumpt is executed in Makefile * add gotestsum to tools/tools.go * remove postgresql/scram package from generate-test-package-lists.sh since it didn't exist in release 1.13 or earlier * blank out environment variables to allow test to properly function * use go:embed to load files into test --------- Co-authored-by: Kuba Wieczorek <kuba.wieczorek@hashicorp.com>
38 lines
1.2 KiB
Go
38 lines
1.2 KiB
Go
//go:build tools
|
|
|
|
// This file ensures tool dependencies are kept in sync. This is the
|
|
// recommended way of doing this according to
|
|
// https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
|
|
// To install the following tools at the version used by this repo run:
|
|
// $ make bootstrap
|
|
// or
|
|
// $ go generate -tags tools tools/tools.go
|
|
|
|
package tools
|
|
|
|
//go:generate go install golang.org/x/tools/cmd/goimports
|
|
//go:generate go install github.com/client9/misspell/cmd/misspell
|
|
//go:generate go install mvdan.cc/gofumpt
|
|
//go:generate go install google.golang.org/protobuf/cmd/protoc-gen-go
|
|
//go:generate go install google.golang.org/grpc/cmd/protoc-gen-go-grpc
|
|
//go:generate go install github.com/favadi/protoc-go-inject-tag
|
|
//go:generate go install github.com/golangci/revgrep/cmd/revgrep
|
|
//go:generate go install gotest.tools/gotestsum
|
|
import (
|
|
_ "golang.org/x/tools/cmd/goimports"
|
|
|
|
_ "github.com/client9/misspell/cmd/misspell"
|
|
|
|
_ "mvdan.cc/gofumpt"
|
|
|
|
_ "google.golang.org/protobuf/cmd/protoc-gen-go"
|
|
|
|
_ "google.golang.org/grpc/cmd/protoc-gen-go-grpc"
|
|
|
|
_ "github.com/favadi/protoc-go-inject-tag"
|
|
|
|
_ "github.com/golangci/revgrep/cmd/revgrep"
|
|
|
|
_ "gotest.tools/gotestsum"
|
|
)
|