From ec5fd99fc4381fc233dbeadf6d68ecc14b2da83e Mon Sep 17 00:00:00 2001 From: Christopher Goes Date: Wed, 13 Jun 2018 20:02:08 +0200 Subject: [PATCH] Move metalinter installation to lint step --- .circleci/config.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ceb9e78a8d..258c0b1060 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -27,12 +27,6 @@ jobs: command: | export PATH="$GOBIN:$PATH" make get_vendor_deps - - run: - name: linter - command: | - export PATH="$GOBIN:$PATH" - go get -u github.com/tendermint/lint/golint - go get -u github.com/alecthomas/gometalinter - run: name: binaries command: | @@ -63,6 +57,12 @@ jobs: key: v1-pkg-cache - restore_cache: key: v1-tree-{{ .Environment.CIRCLE_SHA1 }} + - run: + name: Get metalinter + command: | + export PATH="$GOBIN:$PATH" + go get -u github.com/tendermint/lint/golint + go get -u github.com/alecthomas/gometalinter - run: name: Lint source command: |