Browse Source

add ineffassign to circleci gometalinter check

Mario Trangoni 7 years ago
parent
commit
2e927a1053
1 changed files with 2 additions and 1 deletions
  1. 2 1
      .circleci/config.yml

+ 2 - 1
.circleci/config.yml

@@ -27,12 +27,13 @@ jobs:
     steps:
     steps:
       - checkout
       - checkout
       - run: 'go get -u gopkg.in/alecthomas/gometalinter.v2'
       - run: 'go get -u gopkg.in/alecthomas/gometalinter.v2'
+      - run: 'go get -u github.com/gordonklaus/ineffassign'
       - run: 'go get -u github.com/opennota/check/cmd/structcheck'
       - run: 'go get -u github.com/opennota/check/cmd/structcheck'
       - run: 'go get -u github.com/mdempsky/unconvert'
       - run: 'go get -u github.com/mdempsky/unconvert'
       - run: 'go get -u github.com/opennota/check/cmd/varcheck'
       - run: 'go get -u github.com/opennota/check/cmd/varcheck'
       - run:
       - run:
           name: run linters
           name: run linters
-          command: 'gometalinter.v2 --enable-gc --vendor --deadline 10m --disable-all --enable=structcheck --enable=unconvert --enable=varcheck ./...'
+          command: 'gometalinter.v2 --enable-gc --vendor --deadline 10m --disable-all --enable=ineffassign --enable=structcheck --enable=unconvert --enable=varcheck ./...'
 
 
   test-frontend:
   test-frontend:
     docker:
     docker: