mirror of
https://github.com/distribution/distribution.git
synced 2026-01-19 17:15:22 +00:00
Migrate to golangci-lint
Signed-off-by: Tam Mach <sayboras@yahoo.com> Signed-off-by: wang yan <wangyan@vmware.com>
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
GOLANGCI_LINT_VERSION="v1.27.0"
|
||||
|
||||
#
|
||||
# Install developer tools to $GOBIN (or $GOPATH/bin if unset)
|
||||
#
|
||||
set -eu -o pipefail
|
||||
|
||||
go get -u github.com/alecthomas/gometalinter
|
||||
gometalinter --install >/dev/null
|
||||
cd /tmp
|
||||
go get -u github.com/LK4D4/vndr
|
||||
go get -u github.com/cpuguy83/go-md2man
|
||||
go get "github.com/golangci/golangci-lint/cmd/golangci-lint@${GOLANGCI_LINT_VERSION}"
|
||||
|
||||
Reference in New Issue
Block a user