fix newline and whitespace issues

This commit is contained in:
Pearl Dsilva 2026-01-14 12:09:54 -05:00
parent a52eadc964
commit 238d07276f
1 changed files with 2 additions and 3 deletions

View File

@ -52,7 +52,7 @@ jobs:
sed -i 's/-Xplugin:ErrorProne -XepAllErrorsAsWarnings/-Xplugin:ErrorProne/g' pom.xml
set -o pipefail
# Use -fae (fail-at-end) to build all modules and report failures at the end
mvn -fae clean test-compile -T$(nproc) 2>&1 | tee errorprone.log
MVN_EXIT=${PIPESTATUS[0]}
@ -80,7 +80,7 @@ jobs:
if grep -q "^\[ERROR\]" errorprone.log; then
HAS_ERRORS=true
fi
if [ "$HAS_ERRORS" = "true" ]; then
echo "has_errors=true" >> $GITHUB_OUTPUT
echo "::error::Error Prone and/or compilation issues found in the code"
@ -119,4 +119,3 @@ jobs:
- name: Fail if errors found
if: steps.check-errors.outputs.has_errors == 'true'
run: exit 1