mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-03-31 06:24:00 -04:00
Update Golangci-lint to 1.26.0
This commit is contained in:
@@ -46,4 +46,4 @@ run:
|
||||
- .github
|
||||
|
||||
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
|
||||
|
||||
@@ -5,7 +5,7 @@ FROM alpine:${ALPINE_VERSION} AS alpine
|
||||
RUN apk --update add ca-certificates tzdata
|
||||
|
||||
FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS builder
|
||||
ARG GOLANGCI_LINT_VERSION=v1.24.0
|
||||
ARG GOLANGCI_LINT_VERSION=v1.26.0
|
||||
RUN apk --update add git
|
||||
ENV CGO_ENABLED=0
|
||||
RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s ${GOLANGCI_LINT_VERSION}
|
||||
|
||||
Reference in New Issue
Block a user