CI: Disable golangci-lint for now.

errwrp
Martin Dosch 1 year ago
parent f173bcf698
commit dd9a661bc4
No known key found for this signature in database
GPG Key ID: 52A57CFCE13D657D

@ -27,7 +27,7 @@ stages:
- release
format:
image: registry.gitlab.com/gitlab-org/gitlab-build-images:golangci-lint-alpine
# image: registry.gitlab.com/gitlab-org/gitlab-build-images:golangci-lint-alpine
stage: test
script:
- go fmt $(go list ./... | grep -v /vendor/)
@ -35,9 +35,9 @@ format:
- go test -race $(go list ./... | grep -v /vendor/)
# Taken from https://gitlab.com/gitlab-org/gitlab/-/merge_requests/20404/diffs#diff-content-8071267ea32ba69f24a8bd50bcbddf972c295ce3
# Use default .golangci.yml file from the image if one is not present in the project root.
- '[ -e .golangci.yml ] || cp /golangci/.golangci.yml .'
- golangci-lint run
allow_failure: true
#- '[ -e .golangci.yml ] || cp /golangci/.golangci.yml .'
#- golangci-lint run
#allow_failure: true
compile:
stage: build

Loading…
Cancel
Save