Make golint fail on errors. (#105)
* make lint fail on errors * fix lint errors
This commit is contained in:

committed by
GitHub

parent
d3bdbe53c8
commit
bdb184b25c
2
.github/workflows/build-and-test.yaml
vendored
2
.github/workflows/build-and-test.yaml
vendored
@@ -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:
|
||||
|
Reference in New Issue
Block a user