Skip to content

Commit d022bb0

Browse files
committed
fix: enable pipefail
1 parent 1b9ce60 commit d022bb0

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/benchmark.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@ jobs:
5353
# TODO(template) update the bench command if you use a different
5454
# benchmark harness or need to pass extra flags
5555
- name: Run benchmarks
56-
run: cargo bench -p template_crate --bench benchmark -- --output-format bencher 2>&1 | tee benchmark-output.txt
56+
shell: bash
57+
run: |
58+
set -euo pipefail
59+
cargo bench -p template_crate --bench benchmark -- --output-format bencher 2>&1 | tee benchmark-output.txt
5760
5861
# On PRs: restore the most-recent baseline written by a main-branch run.
5962
# Using only restore-keys (no matching primary key) guarantees we always

0 commit comments

Comments
 (0)