Skip to content

fix(ci): add shell: bash to rustup install step in containers (#1941)#2355

Open
ChanTsune wants to merge 1 commit intoaxodotdev:mainfrom
ChanTsune:fix/1941-rustup-pipefail
Open

fix(ci): add shell: bash to rustup install step in containers (#1941)#2355
ChanTsune wants to merge 1 commit intoaxodotdev:mainfrom
ChanTsune:fix/1941-rustup-pipefail

Conversation

@ChanTsune
Copy link
Copy Markdown

Without explicit shell: bash, containers without bash fall back to /bin/sh which lacks pipefail. This means a failed curl to download rustup silently pipes empty input to sh, appearing to succeed while leaving Rust uninstalled.

This matches the existing fix applied to the dist install step in PR #618.

fix #1941

…dev#1941)

Without explicit `shell: bash`, containers without bash fall back to
`/bin/sh` which lacks pipefail. This means a failed `curl` to download
rustup silently pipes empty input to `sh`, appearing to succeed while
leaving Rust uninstalled.

This matches the existing fix applied to the dist install step in PR axodotdev#618.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rust download failure not caught during local builds

1 participant