diff options
author | Pavlo Strokov <pstrokov@gitlab.com> | 2020-04-09 13:41:08 +0300 |
---|---|---|
committer | Pavlo Strokov <pstrokov@gitlab.com> | 2020-04-09 13:41:08 +0300 |
commit | 415fc43fa7227e1c07a4ad9b62c494cda870c793 (patch) | |
tree | 5b85f49fd4895c25412ee8ec3249f829c769005e | |
parent | 018398558dc5412b34429e082555c3393b41fcf4 (diff) |
Retry strategy for lint job
Because golangci-lint fails frequently because of the
issues in tool itself `retry` strategy was added.
https://github.com/golangci/golangci-lint/issues/896
-rw-r--r-- | .gitlab-ci.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0e32e55c2..a459ad959 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -256,6 +256,7 @@ lint: # Only Go 1.13 currently officially supported image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6-golang-1.13-git-2.24 stage: test + retry: 2 script: - go version - make lint |