Skip to content

Commit

Permalink
try echoing the file
Browse files Browse the repository at this point in the history
  • Loading branch information
sam0x17 committed Aug 9, 2024
1 parent 4b79e61 commit a4ac8b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/check-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ 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 | tee build_output.log
cargo check 2>&1 | build_output.log
cat build_output.log
if grep -q "^warning:" build_output.log; then
echo "Build emitted the following warnings:"
grep "^warning:" build_output.log
Expand Down

0 comments on commit a4ac8b6

Please sign in to comment.