@@ -44,14 +44,14 @@ runs:
44
44
if : ${{ runner.os == 'macOS' }}
45
45
run : |
46
46
echo "$(brew --prefix llvm@18)/bin" >> $GITHUB_PATH
47
- shell : bash
47
+ shell : bash --noprofile --norc -euo pipefail {0}
48
48
49
49
- name : Check clang version
50
50
if : ${{ runner.os == 'macOS' }}
51
51
run : |
52
52
clang --version
53
53
which clang
54
- shell : bash
54
+ shell : bash --noprofile --norc -euo pipefail {0}
55
55
56
56
- name : Set up GCP credentials
57
57
uses : google-github-actions/auth@v2
60
60
service_account : ${{ inputs.service_account }}
61
61
62
62
- name : Ensure correct version of Rust is installed
63
- shell : bash
63
+ shell : bash --noprofile --norc -euo pipefail {0}
64
64
run : |
65
65
# This is the only way to force rustup to install the version of Rust
66
66
# and the components/targets specified in our `rust-toolchain` file.
@@ -69,12 +69,12 @@ runs:
69
69
70
70
- name : Install additional targets
71
71
if : ${{ inputs.targets != '' }}
72
- shell : bash
72
+ shell : bash --noprofile --norc -euo pipefail {0}
73
73
run : rustup target add ${{ inputs.targets }}
74
74
75
75
- name : Install additional toolchains
76
76
if : ${{ inputs.toolchains }}
77
- shell : bash
77
+ shell : bash --noprofile --norc -euo pipefail {0}
78
78
run : |
79
79
for toolchain in ${{ inputs.toolchains }}; do
80
80
rustup install $toolchain
89
89
gcs_read_only : false
90
90
91
91
- name : Verify sccache
92
- shell : bash
92
+ shell : bash --noprofile --norc -euo pipefail {0}
93
93
run : |
94
94
sccache --show-stats
95
95
0 commit comments