Skip to content

Commit

Permalink
Enable linter in CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
albrow committed Apr 25, 2019
1 parent 2ff1132 commit 31ae7d8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .circleci/config.yml
Expand Up @@ -28,6 +28,12 @@ jobs:
- run:
name: Install dependencies
command: make deps
- run:
name: Install Go linter
command: curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.16.0
- run:
name: Run Go linter
command: golangci-lint run
- run:
name: Run Go tests
command: make test-go
Expand Down
5 changes: 5 additions & 0 deletions .golangci.yml
@@ -0,0 +1,5 @@
linters:
disable-all: true
enable:
- errcheck
- govet

0 comments on commit 31ae7d8

Please sign in to comment.