You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by kr...@apache.org on 2025/09/22 09:45:19 UTC
(avro-rs) 01/01: fix: Set -o pipefail in CI
This is an automated email from the ASF dual-hosted git repository.
kriskras99 pushed a commit to branch fix/pipefail_ci
in repository https://gitbox.apache.org/repos/asf/avro-rs.git
commit 170ea4b70c2488c93076fe07e2e2cffcab1373f2
Author: Kriskras99 <gi...@kriskras99.nl>
AuthorDate: Mon Sep 22 11:45:10 2025 +0200
fix: Set -o pipefail in CI
By default `curl | sh` will have `sh`'s exit code, with this option `curl`'s exit code is propagated.
---
.github/workflows/test-lang-rust-ci.yml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.github/workflows/test-lang-rust-ci.yml b/.github/workflows/test-lang-rust-ci.yml
index 2fa68a8..a735154 100644
--- a/.github/workflows/test-lang-rust-ci.yml
+++ b/.github/workflows/test-lang-rust-ci.yml
@@ -250,6 +250,7 @@ jobs:
key: ${{ runner.os }}-target-cache1-stable-${{ hashFiles('**/Cargo.lock') }}
- name: Install wasm-pack
+ shell: /usr/bin/bash -o pipefail -e {0}
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Build the Web Assembly demo app