update golangci-lint to v1.51.1

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
pull/1643/head
CrazyMax 2 years ago
parent 376b73f078
commit e16c1b289b
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7

@ -4,7 +4,7 @@ ARG GO_VERSION=1.20
FROM golang:${GO_VERSION}-alpine
RUN apk add --no-cache git gcc musl-dev
RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.48.0
RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.51.1
WORKDIR /go/src/github.com/docker/buildx
RUN --mount=target=/go/src/github.com/docker/buildx --mount=target=/root/.cache,type=cache \
golangci-lint run

Loading…
Cancel
Save