podman/test/tools/tools.go
Paul Holzinger 9166894c69
vendor test dependencies instead of installing via network
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>
2022-05-03 18:43:18 +02:00

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"
)