forked from cerc-io/laconicd-deprecated
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user