We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a52eadc commit 238d072Copy full SHA for 238d072
.github/workflows/errorprone.yml
@@ -52,7 +52,7 @@ jobs:
52
sed -i 's/-Xplugin:ErrorProne -XepAllErrorsAsWarnings/-Xplugin:ErrorProne/g' pom.xml
53
54
set -o pipefail
55
-
+
56
# Use -fae (fail-at-end) to build all modules and report failures at the end
57
mvn -fae clean test-compile -T$(nproc) 2>&1 | tee errorprone.log
58
MVN_EXIT=${PIPESTATUS[0]}
@@ -80,7 +80,7 @@ jobs:
80
if grep -q "^\[ERROR\]" errorprone.log; then
81
HAS_ERRORS=true
82
fi
83
84
if [ "$HAS_ERRORS" = "true" ]; then
85
echo "has_errors=true" >> $GITHUB_OUTPUT
86
echo "::error::Error Prone and/or compilation issues found in the code"
@@ -119,4 +119,3 @@ jobs:
119
- name: Fail if errors found
120
if: steps.check-errors.outputs.has_errors == 'true'
121
run: exit 1
122
0 commit comments