From 7ca714e6d1b9cb4409362c26d8b3b9a7d403787a Mon Sep 17 00:00:00 2001 From: Todd Gruben Date: Fri, 29 Oct 2021 13:50:41 -0500 Subject: [PATCH] added the linter back to circle --- .circleci/config.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8524a0afd..30b2ef5e4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -70,6 +70,14 @@ jobs: - checkout-plus - skip-if-root-unchanged - run: make check-license-headers + linter: + executor: + name: golang + steps: + - checkout-plus + - skip-if-root-unchanged + - run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sudo sh -s -- -b /usr/local/bin v1.31.0 + - run: make golangci-lint go-mod-tidy: executor: name: golang @@ -227,6 +235,10 @@ workflows: filters: tags: only: /^v.*/ + - linter: + context: molecula + requires: + - setup - check-license-headers: context: molecula requires: