Add golangci-lint version 1.52

This commit is contained in:
Udayan Joshi 2023-04-21 17:15:10 +00:00 committed by Stan Hu
parent 7fb5639f18
commit 1e4b163d65
2 changed files with 8 additions and 0 deletions

View file

@ -45,6 +45,9 @@ golangci-lint-1.50-alpine:
golangci-lint-1.51-alpine: golangci-lint-1.51-alpine:
extends: .build_static_image extends: .build_static_image
golangci-lint-1.52-alpine:
extends: .build_static_image
# Used by gitlab-operator: https://gitlab.com/gitlab-org/cloud-native/gitlab-operator # Used by gitlab-operator: https://gitlab.com/gitlab-org/cloud-native/gitlab-operator
gitlab-operator-build-base-golang-1.18: gitlab-operator-build-base-golang-1.18:
extends: .build_static_image extends: .build_static_image

View file

@ -0,0 +1,5 @@
FROM golangci/golangci-lint:v1.52-alpine
# git must be installed for golangci-lint's --new-from-rev flag to work.
RUN apk --no-cache add git jq bash
# Include a default .golangci.yml
COPY /assets/.golangci.yml /golangci/.golangci.yml