mirror of
https://github.com/docker/compose.git
synced 2025-07-20 12:14:41 +02:00
ci: upgrade golangci-lint
Need a compatible version for 1.19 Signed-off-by: Milas Bowman <milas.bowman@docker.com>
This commit is contained in:
parent
e81168197a
commit
f72a604cbd
@ -5,7 +5,6 @@ linters:
|
|||||||
enable-all: false
|
enable-all: false
|
||||||
disable-all: true
|
disable-all: true
|
||||||
enable:
|
enable:
|
||||||
- deadcode
|
|
||||||
- depguard
|
- depguard
|
||||||
- errcheck
|
- errcheck
|
||||||
- gocritic
|
- gocritic
|
||||||
@ -21,13 +20,15 @@ linters:
|
|||||||
- nakedret
|
- nakedret
|
||||||
- nolintlint
|
- nolintlint
|
||||||
- staticcheck
|
- staticcheck
|
||||||
- structcheck
|
|
||||||
- typecheck
|
- typecheck
|
||||||
- unconvert
|
- unconvert
|
||||||
- unparam
|
- unparam
|
||||||
- unused
|
- unused
|
||||||
- varcheck
|
|
||||||
linters-settings:
|
linters-settings:
|
||||||
|
revive:
|
||||||
|
rules:
|
||||||
|
- name: package-comments
|
||||||
|
disabled: true
|
||||||
depguard:
|
depguard:
|
||||||
list-type: denylist
|
list-type: denylist
|
||||||
include-go-root: true
|
include-go-root: true
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
ARG GO_VERSION=1.19.1
|
ARG GO_VERSION=1.19.1
|
||||||
ARG XX_VERSION=1.1.2
|
ARG XX_VERSION=1.1.2
|
||||||
ARG GOLANGCI_LINT_VERSION=v1.47.3
|
ARG GOLANGCI_LINT_VERSION=v1.49.0
|
||||||
ARG ADDLICENSE_VERSION=v1.0.0
|
ARG ADDLICENSE_VERSION=v1.0.0
|
||||||
|
|
||||||
ARG BUILD_TAGS="e2e,kube"
|
ARG BUILD_TAGS="e2e,kube"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user