From 4021d60cb1f9da283851dcfb8b97d324a3d201d1 Mon Sep 17 00:00:00 2001 From: Sam Johnson Date: Fri, 9 Aug 2024 07:33:38 -0400 Subject: [PATCH] warning detection should be working in CI now --- .github/workflows/check-rust.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-rust.yml b/.github/workflows/check-rust.yml index c724ecd1..ce1aa478 100644 --- a/.github/workflows/check-rust.yml +++ b/.github/workflows/check-rust.yml @@ -163,7 +163,7 @@ jobs: # which will nevertheless check the whole workspace run: | set -o pipefail # Ensure the pipeline fails if any command in the pipeline fails - cargo check 2>&1 | build_output.log + 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:"