From 00d7ac6ab27e2e7709bfad985d1244e92af89306 Mon Sep 17 00:00:00 2001 From: tbjump Date: Wed, 1 Jun 2022 16:32:37 +0000 Subject: [PATCH] fix exit --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 54e8a4f9c..2901dec5f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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.