From 608ccb0ca1319e5d7acc9faef8f104f07a8ae982 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 12 Jul 2019 15:04:03 +0200 Subject: [PATCH] Update golangci-lint --- .golangci.toml | 3 +-- build.Dockerfile | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.golangci.toml b/.golangci.toml index eeb123a15..bdbe5c3b0 100644 --- a/.golangci.toml +++ b/.golangci.toml @@ -36,8 +36,7 @@ "scopelint", "gochecknoinits", "gochecknoglobals", - # uncomment when the CI will be updated - # "bodyclose", # Too many false-positive and panics. + "bodyclose", # Too many false-positive and panics. ] [issues] diff --git a/build.Dockerfile b/build.Dockerfile index 77c3988ff..622cebb93 100644 --- a/build.Dockerfile +++ b/build.Dockerfile @@ -6,7 +6,7 @@ RUN apk --update upgrade \ && rm -rf /var/cache/apk/* # Download golangci-lint and misspell binary to bin folder in $GOPATH -RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.15.0 \ +RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.17.1 \ && go get github.com/client9/misspell/cmd/misspell # Download goreleaser binary to bin folder in $GOPATH