Skip to content

Commit 6cd78b7

Browse files
committed
chore: bash improvements
Signed-off-by: Danny Kopping <danny@coder.com>
1 parent 7040c95 commit 6cd78b7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/actions/test-go-pg/action.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,9 @@ runs:
6767
LC_CTYPE: "en_US.UTF-8"
6868
LC_ALL: "en_US.UTF-8"
6969
run: |
70-
set -o errexit
71-
set -o pipefail
70+
set -euo pipefail
7271
73-
if [ "${RACE_DETECTION}" == "true" ]; then
72+
if [[ ${RACE_DETECTION} == true ]]; then
7473
gotestsum --junitfile="gotests.xml" --packages="${TEST_PACKAGES}" -- \
7574
-race \
7675
-parallel "${TEST_NUM_PARALLEL_TESTS}" \

0 commit comments

Comments
 (0)