GolangCi-lint 1.
26.0
This commit is contained in:
@@ -47,4 +47,4 @@ run:
|
|||||||
- postgres
|
- postgres
|
||||||
|
|
||||||
service:
|
service:
|
||||||
golangci-lint-version: 1.24.x # use the fixed version to not introduce new linters unexpectedly
|
golangci-lint-version: 1.26.x # use the fixed version to not introduce new linters unexpectedly
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ ARG GO_VERSION=1.14
|
|||||||
FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS builder
|
FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS builder
|
||||||
RUN apk --update add git
|
RUN apk --update add git
|
||||||
ENV CGO_ENABLED=0
|
ENV CGO_ENABLED=0
|
||||||
ARG GOLANGCI_LINT_VERSION=v1.25.0
|
ARG GOLANGCI_LINT_VERSION=v1.26.0
|
||||||
RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s ${GOLANGCI_LINT_VERSION}
|
RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s ${GOLANGCI_LINT_VERSION}
|
||||||
WORKDIR /tmp/gobuild
|
WORKDIR /tmp/gobuild
|
||||||
COPY .golangci.yml .
|
COPY .golangci.yml .
|
||||||
|
|||||||
Reference in New Issue
Block a user