mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-04-05 08:53:52 -04:00
chore(lint): upgrade golangci-lint to v1.43.0
This commit is contained in:
@@ -2,7 +2,7 @@ ARG BUILDPLATFORM=linux/amd64
|
||||
ARG ALPINE_VERSION=3.14
|
||||
ARG GO_VERSION=1.17
|
||||
ARG XCPUTRANSLATE_VERSION=v0.6.0
|
||||
ARG GOLANGCI_LINT_VERSION=v1.42.1
|
||||
ARG GOLANGCI_LINT_VERSION=v1.43.0
|
||||
|
||||
FROM --platform=${BUILDPLATFORM} qmcgaw/xcputranslate:${XCPUTRANSLATE_VERSION} AS xcputranslate
|
||||
FROM --platform=${BUILDPLATFORM} qmcgaw/binpot:golangci-lint-${GOLANGCI_LINT_VERSION} AS golangci-lint
|
||||
|
||||
@@ -24,7 +24,7 @@ type handlers struct {
|
||||
}
|
||||
|
||||
//go:embed ui/*
|
||||
var uiFS embed.FS //nolint:gochecknoglobals
|
||||
var uiFS embed.FS
|
||||
|
||||
func newHandler(ctx context.Context, rootURL string,
|
||||
db data.Database, runner update.Runner) http.Handler {
|
||||
|
||||
Reference in New Issue
Block a user