From 95dbb7f2f1b9fc3528a16335201e2324f1b388bd Mon Sep 17 00:00:00 2001 From: Alvin Huang Date: Tue, 16 Jul 2019 18:52:24 -0400 Subject: [PATCH] add lint-consul-retry tool (#6139) * add lint-consul-retry tool * lint consul retry for forks too --- .circleci/config.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 98ce9c5d8d..e9a9d56209 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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