Upgrade golangci-lint to v1.33.0
This commit is contained in:
@@ -4,7 +4,7 @@ ARG GO_VERSION=1.15
|
|||||||
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.31.0
|
ARG GOLANGCI_LINT_VERSION=v1.33.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 .
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ func DNSProviderMapping() map[models.DNSProvider]models.DNSProviderData {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Block lists URLs
|
// Block lists URLs.
|
||||||
//nolint:lll
|
//nolint:lll
|
||||||
const (
|
const (
|
||||||
AdsBlockListHostnamesURL models.URL = "https://raw.githubusercontent.com/qdm12/files/master/ads-hostnames.updated"
|
AdsBlockListHostnamesURL models.URL = "https://raw.githubusercontent.com/qdm12/files/master/ads-hostnames.updated"
|
||||||
|
|||||||
Reference in New Issue
Block a user