mirror of
https://github.com/chronotope/chrono.git
synced 2025-10-02 07:21:41 +00:00
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.
This commit is contained in:
parent
c01e3a7238
commit
42fca00f2b
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -119,9 +119,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: "12"
|
node-version: "12"
|
||||||
- run: |
|
- run: |
|
||||||
|
set -euxo pipefail
|
||||||
export RUST_BACKTRACE=1
|
export RUST_BACKTRACE=1
|
||||||
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
|
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
|
||||||
wasm-pack --version
|
wasm-pack --version
|
||||||
|
shell: bash
|
||||||
- run: cargo build --target ${{ matrix.target }} --color=always
|
- run: cargo build --target ${{ matrix.target }} --color=always
|
||||||
|
|
||||||
features_check_wasm:
|
features_check_wasm:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user