Skip to content

Commit

Permalink
test.yml run statement should fail early
Browse files Browse the repository at this point in the history
Force the `run` script to fail early using bash shell
`set` options.

Previously, errors before the last statement of the script would be
ignored.
  • Loading branch information
jtmoon79 authored and djc committed May 29, 2023
1 parent c01e3a7 commit 42fca00
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 42fca00

Please sign in to comment.