Skip to content

Commit

Permalink
try catting
Browse files Browse the repository at this point in the history
  • Loading branch information
sam0x17 committed Aug 9, 2024
1 parent dbe2a89 commit fe0d6ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fe0d6ad

Please sign in to comment.