Modify circleci config file to enforce checking lint errors before running test
@@ -22,5 +22,7 @@ jobs:
- checkout
# specify any bash command here prefixed with `run: `
+ - run: go get -u golang.org/x/lint/golint
+ - run: golint -set_exit_status $(go list ./... | grep -v /vendor/)
- run: go get -v -t -d ./...
- run: go test -short -v ./...
