Files
podman/test/tools/tools.go
Paul Holzinger 5e9725983d install swagger from source
First of all this removes the need for a network connection, second
renovate can update the version as it is tracked in go.mod.

However the real important part is that the binary downloads are
broken[1]. For some reason the swagger created with them does not
include all the type information for the examples. However when building
from source the same thing works fine.

[1] https://github.com/go-swagger/go-swagger/issues/2842

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-04-12 15:26:34 +02:00

15 lines
329 B
Go

//go: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/go-swagger/go-swagger/cmd/swagger"
_ "github.com/onsi/ginkgo/v2/ginkgo"
_ "github.com/vbatts/git-validation"
_ "golang.org/x/tools/cmd/goimports"
)