This commit is contained in:
tbjump 2022-06-01 16:32:37 +00:00 committed by Evan Gray
parent 3ed1f11e79
commit 00d7ac6ab2
1 changed files with 1 additions and 1 deletions

View File

@ -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.