Update golangci-lint

This commit is contained in:
Michael 2019-07-12 15:04:03 +02:00 committed by Traefiker Bot
parent 3f6ea04048
commit 608ccb0ca1
2 changed files with 2 additions and 3 deletions

View file

@ -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]

View file

@ -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