happy lint

This commit is contained in:
Boshi Lian 2021-10-04 13:01:43 +00:00
parent 6781e23c3b
commit ef3e77ac84
19 changed files with 76 additions and 56 deletions

View file

@ -28,6 +28,12 @@ jobs:
set -e
go version
- name: fmt
run: |
if [ "$(gofmt -s -l libpiper sshpiperd | wc -l)" -gt 0 ]; then
exit 1;
fi
- name: golangci-lint
uses: golangci/golangci-lint-action@v2