Skip to content
This repository has been archived by the owner on Apr 11, 2020. It is now read-only.

Commit

Permalink
chore: add golang lint
Browse files Browse the repository at this point in the history
  • Loading branch information
vicanso committed Dec 7, 2019
1 parent fc76e89 commit 2707b6c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ sudo: required

go:
- "1.12"
- "1.13"
- master

script:
- make test
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.21.0
- make lint && make test
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ test-cover:

release:
go mod tidy

lint:
golangci-lint run

0 comments on commit 2707b6c

Please sign in to comment.