diff --git a/.github/workflows/check-rust.yml b/.github/workflows/check-rust.yml index ffef1327..faba74f8 100644 --- a/.github/workflows/check-rust.yml +++ b/.github/workflows/check-rust.yml @@ -164,10 +164,10 @@ jobs: run: | set -o pipefail # Ensure the pipeline fails if any command in the pipeline fails cargo check 2>&1 | tee build_output.log + cat build_output.log if grep -q "^warning:" build_output.log; then echo "Build emitted the following warnings:" >&2 echo `grep "^warning:" build_output.log` - else echo "No warnings found." fi