diff --git a/.ci/ci-test.sh b/.ci/ci-test.sh index 61cfde215a..544bf14f0b 100755 --- a/.ci/ci-test.sh +++ b/.ci/ci-test.sh @@ -12,6 +12,7 @@ t() { false } +# Need bash rather than dash to get $LINENO on Ubuntu fail() ( echo "*** Test #${TEST_COUNT} FAILED, line: $1 ***" >&2 ) diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index 7bd5601d4b..ad7b5384e6 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -48,6 +48,8 @@ jobs: run: | go version cd .ci + # Need bash rather than dash to get $LINENO on Ubuntu + sudo ln -sf /bin/bash /bin/sh ./ci-test.sh cd -