mirror of
https://github.com/containers/podman.git
synced 2025-07-31 20:32:39 +08:00

We can vendor the test dependencies such as go-md2man, git-validation and goimports. This allows us to always install the same version as specified in go.mod. Also we do not rely on a network connection for this. The advantage with this method is that dependabot will also update the dependencies for us and we do not have to hardcode versions in the Makefile. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
14 lines
257 B
Go
14 lines
257 B
Go
//go:build tools
|
|
// +build tools
|
|
|
|
package tools
|
|
|
|
// Importing the packages here will allow to vendor those via
|
|
// `go mod vendor`.
|
|
|
|
import (
|
|
_ "github.com/cpuguy83/go-md2man/v2"
|
|
_ "github.com/vbatts/git-validation"
|
|
_ "golang.org/x/tools/cmd/goimports"
|
|
)
|