add lint-consul-retry tool (#6139)

* add lint-consul-retry tool

* lint consul retry for forks too
This commit is contained in:
Alvin Huang 2019-07-16 18:52:24 -04:00 committed by GitHub
parent 99601aa3a7
commit 5003afd423
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 1 deletions

View File

@ -23,6 +23,14 @@ references:
S3_ARTIFACT_BUCKET: consul-dev-artifacts
jobs:
# lint consul tests
lint-consul-retry:
docker:
- image: *GOLANG_IMAGE
steps:
- checkout
- run: go get -u github.com/hashicorp/lint-consul-retry && lint-consul-retry
# Runs go fmt and go vet
go-fmt-and-vet:
docker:
@ -445,7 +453,10 @@ workflows:
version: 2
build-distros:
jobs:
- go-fmt-and-vet
- lint-consul-retry
- go-fmt-and-vet:
requires:
- lint-consul-retry
- build-386: &require-go-fmt-vet
requires:
- go-fmt-and-vet