Skip to content

Commit

Permalink
Added go tidy check
Browse files Browse the repository at this point in the history
  • Loading branch information
CameronRP committed Nov 26, 2020
1 parent 7e1c9d1 commit e9c5991
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ go:
- "1.12.x"

script:
- go vet ./... && go test ./...
- go mod tidy
- git diff --exit-code --quiet || (echo "Please run 'go mod tidy' to clean up the 'go.mod' and 'go.sum' files."; false)
- go vet ./...
- go test ./...

# calls goreleaser
deploy:
Expand Down

0 comments on commit e9c5991

Please sign in to comment.