This is an automated email from the ASF dual-hosted git repository.
mgrigorov pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/avro-rs.git
The following commit(s) were added to refs/heads/main by this push:
new 12c56aa fix: Set -o pipefail in CI (#299)
12c56aa is described below
commit 12c56aaaefb73f8f4967ffe93fb354e4e6898eae
Author: Kriskras99 <[email protected]>
AuthorDate: Mon Sep 22 23:18:22 2025 +0200
fix: Set -o pipefail in CI (#299)
* 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.
* fix: Allow 5 retries for Curl download in CI
Co-authored-by: Martin Grigorov <[email protected]>
---------
Co-authored-by: Martin Grigorov <[email protected]>
---
.github/workflows/test-lang-rust-ci.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/test-lang-rust-ci.yml
b/.github/workflows/test-lang-rust-ci.yml
index 2fa68a8..706abe0 100644
--- a/.github/workflows/test-lang-rust-ci.yml
+++ b/.github/workflows/test-lang-rust-ci.yml
@@ -250,7 +250,8 @@ jobs:
key: ${{ runner.os }}-target-cache1-stable-${{
hashFiles('**/Cargo.lock') }}
- name: Install wasm-pack
- run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf
| sh
+ shell: /usr/bin/bash -o pipefail -e {0}
+ run: curl --retry 5
https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Build the Web Assembly demo app
run: wasm-pack build wasm-demo