Skip to content

Commit

Permalink
but actually now
Browse files Browse the repository at this point in the history
  • Loading branch information
sam0x17 committed Aug 9, 2024
1 parent 4021d60 commit dbe2a89
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/check-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +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:"
grep "^warning:" build_output.log
exit 1
>&2 echo `grep "^warning:" build_output.log`
else
echo "No warnings found."
fi
Expand Down

0 comments on commit dbe2a89

Please sign in to comment.