From 33723f8a85871797b6f38ab0340437a9b635f917 Mon Sep 17 00:00:00 2001 From: Jaime Martinez Date: Thu, 25 Mar 2021 15:45:08 +1100 Subject: Remove .GOPATH symlinks Simplifies Makefiles to not use `.GOPATH` symlink. Updates `test.yaml` to reuse the Go cache in between jobs instead of removing and downloading all the dependencies for every job. Changelog: other --- tools.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tools.go') diff --git a/tools.go b/tools.go index 38b71947..0cc95532 100644 --- a/tools.go +++ b/tools.go @@ -2,10 +2,13 @@ package main +// These imports are to force `go mod tidy` not to remove that tools we depend +// on development. This is explained in great detail in +// https://marcofranssen.nl/manage-go-tools-via-go-modules/ import ( - _ "github.com/fzipp/gocyclo" + _ "github.com/golang/mock/mockgen" + _ "github.com/golangci/golangci-lint/cmd/golangci-lint" _ "github.com/jstemmer/go-junit-report" _ "github.com/wadey/gocovmerge" - _ "golang.org/x/lint/golint" _ "golang.org/x/tools/cmd/goimports" ) -- cgit v1.2.3