fix: lint workflow (#1028)

* fix lint workflow

* fix comment

* remove format

* change checkout with setup-go

* update comment

* add checkout

* add lint issue

* revert lint error
This commit is contained in:
Thomas Nguy
2022-04-05 15:00:54 +02:00
committed by GitHub
parent cc37ed283a
commit 8202a097f2
4 changed files with 14 additions and 10 deletions
+2 -1
View File
@@ -394,7 +394,8 @@ benchmark:
###############################################################################
lint:
golangci-lint run --out-format=tab
@@test -n "$$golangci-lint version | awk '$4 >= 1.42')"
golangci-lint run --out-format=tab -n
format:
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "./client/docs/statik/statik.go" -not -name '*.pb.go' -not -name '*.pb.gw.go' | xargs gofumpt -d -e -extra