Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime Martinez <jmartinez@gitlab.com>2021-03-25 07:45:08 +0300
committerJaime Martinez <jmartinez@gitlab.com>2021-03-25 07:45:08 +0300
commit33723f8a85871797b6f38ab0340437a9b635f917 (patch)
tree9ff99365659f0e47673c9c8f5cd60610e88936f5 /tools.go
parent575fec0d865d576c295aa7263d190744bd0a0328 (diff)
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
Diffstat (limited to 'tools.go')
-rw-r--r--tools.go7
1 files changed, 5 insertions, 2 deletions
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"
)