From ef303b6eaa3e936cfcfc07c86c4e6f838ed8a9df Mon Sep 17 00:00:00 2001 From: Janos <86970079+janosdebugs@users.noreply.github.com> Date: Wed, 28 Jul 2021 10:08:48 +0200 Subject: [PATCH] Added pipefail --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 454229c..7b1c1dc 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,9 @@ jobs: # Run tests with nice formatting. Save the original log in /tmp/gotest.log - name: Run tests - run: go test -v ./... 2>&1 | tee /tmp/gotest.log | gotestfmt + run: | + set -euo pipefail + go test -v ./... 2>&1 | tee /tmp/gotest.log | gotestfmt # Upload the original go test log as an artifact for later review. - name: Upload test log