analysis.go: use x/tools/go/analysis/multichecker to run analysis tools

This pattern has a number of advantages: it tracks the versions of the
tools in go.mod, it doesn't require installing anything in CI, it runs
all analysis passes at once, and it lets us add custom ones easily.
This commit is contained in:
Filippo Valsorda
2019-11-09 15:57:16 -05:00
committed by Filippo Valsorda
parent 4ffcbacbb0
commit 82ea753aa2
4 changed files with 107 additions and 8 deletions

7
go.mod
View File

@@ -1,8 +1,11 @@
module github.com/FiloSottile/mkcert
go 1.13
require (
golang.org/x/net v0.0.0-20180627171509-e514e69ffb8b
golang.org/x/text v0.3.0 // indirect
golang.org/x/net v0.0.0-20190620200207-3b0461eec859
golang.org/x/tools v0.0.0-20191108193012-7d206e10da11
honnef.co/go/tools v0.0.0-20191107024926-a9480a3ec3bc
howett.net/plist v0.0.0-20181124034731-591f970eefbb
software.sslmate.com/src/go-pkcs12 v0.0.0-20180114231543-2291e8f0f237
)