Open LuckyTurtleDev opened 1 year ago
The readme/example should suggest
- name: Run benchmark
run: |
set -eo pipefail
cargo +nightly bench | tee output.txt
instead of
- name: Run benchmark
run: cargo +nightly bench | tee output.txt
Same for the other languages.
if you use run
cargo +nightly bench | tee output.txt
exit code 0 will be returned if cargo exit with an error, because tee has exit successful. So github action continue after the error and does not fail.