Make golint fail on errors. (#105)

* make lint fail on errors
* fix lint errors
This commit is contained in:
Sebastian Zagrodzki
2021-11-02 12:52:11 +01:00
committed by GitHub
parent d3bdbe53c8
commit bdb184b25c
4 changed files with 11 additions and 10 deletions

View File

@@ -11,7 +11,7 @@ jobs:
- run: sudo apt-get install libusb-1.0-0-dev
- run: go install golang.org/x/tools/cmd/cover@latest
- run: go install golang.org/x/lint/golint@latest
- run: $HOME/go/bin/golint ./...
- run: $HOME/go/bin/golint -set_exit_status ./...
- run: sh ./.github/test-coverage.sh
- uses: shogo82148/actions-goveralls@v1
with: