fix exit
This commit is contained in:
parent
3ed1f11e79
commit
00d7ac6ab2
|
@ -86,7 +86,7 @@ jobs:
|
|||
with:
|
||||
go-version: "1.17.5"
|
||||
# ensure that code is formatted
|
||||
- run: GOFMT_OUTPUT="$(gofmt -l `find ./node ./event_database -name '*.go' | grep -v vendor` 2>&1)"; [ -n "$GOFMT_OUTPUT" ] && printf "All the following files are not correctly formatted\n${GOFMT_OUTPUT}\n" && exit 1
|
||||
- run: GOFMT_OUTPUT="$(gofmt -l `find ./node ./event_database -name '*.go' | grep -v vendor` 2>&1)"; if [ -n "$GOFMT_OUTPUT" ]; then printf "All the following files are not correctly formatted\n${GOFMT_OUTPUT}\n"; exit 1; fi
|
||||
# run linters
|
||||
- run: make generate && ./lint.sh
|
||||
# The go-ethereum and celo-blockchain packages both implement secp256k1 using the exact same header, but that causes duplicate symbols.
|
||||
|
|
Loading…
Reference in New Issue