summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvoisin2023-08-20 21:33:33 +0200
committerjvoisin2023-08-20 21:33:33 +0200
commit737b5207e12bb12a270fa1a385048fcf55617e43 (patch)
treedc4255486d1a673d0d556d9721da9601ea449501
parentbfbaa577f6fc46ebb965724e0f261e79e26ec9fb (diff)
Specify "shell: bash" in github actions
As [documented](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference), this brings us `set -eo pipefail`.
-rw-r--r--.github/workflows/testsuite.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/testsuite.yaml b/.github/workflows/testsuite.yaml
index e44f104..e4188b2 100644
--- a/.github/workflows/testsuite.yaml
+++ b/.github/workflows/testsuite.yaml
@@ -24,6 +24,7 @@ jobs:
24 if: steps.cache-musl.outputs.cache-hit != 'true' 24 if: steps.cache-musl.outputs.cache-hit != 'true'
25 run: tar xzf ./x86_64-linux-musl-native.tgz 25 run: tar xzf ./x86_64-linux-musl-native.tgz
26 - name: Running the testsuite 26 - name: Running the testsuite
27 shell: bash
27 run: make -C tests gcc | grep -zqv FAIL 28 run: make -C tests gcc | grep -zqv FAIL
28 29
29 clang: 30 clang:
@@ -51,4 +52,5 @@ jobs:
51 sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-${{ matrix.version }} 100 52 sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-${{ matrix.version }} 100
52 sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${{ matrix.version }} 100 53 sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${{ matrix.version }} 100
53 - name: Running the testsuite 54 - name: Running the testsuite
55 shell: bash
54 run: make -C tests clang | grep -zqv FAIL 56 run: make -C tests clang | grep -zqv FAIL