From 42fca00f2b265c56bf0a5fde4298e74a4dd63dab Mon Sep 17 00:00:00 2001 From: jtmoon79 <815261+jtmoon79@users.noreply.github.com> Date: Sun, 28 May 2023 19:20:14 -0700 Subject: [PATCH] test.yml run statement should fail early Force the `run` script to fail early using bash shell `set` options. Previously, errors before the last statement of the script would be ignored. --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a18e07aa..029dfe2b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -119,9 +119,11 @@ jobs: with: node-version: "12" - run: | + set -euxo pipefail export RUST_BACKTRACE=1 curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh wasm-pack --version + shell: bash - run: cargo build --target ${{ matrix.target }} --color=always features_check_wasm: