Skip to content
This repository was archived by the owner on Dec 4, 2025. It is now read-only.

Commit f8eee3d

Browse files
authored
Merge pull request #892 from linwumingshi/ci/spring-format
Ensure Java format validation reports failure explicitly
2 parents db189b9 + 4bcd9fc commit f8eee3d

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/spring-javaformat-validate.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,4 @@ jobs:
2020
id: format-validation
2121
run: |
2222
echo "Executing Spring code format validation"
23-
mvn spring-javaformat:validate
24-
continue-on-error: true
25-
26-
- name: Check format validation result
27-
if: always()
28-
run: |
29-
echo "Checking format validation result"
30-
if [ ${{ steps.format-validation.outcome }} == 'failure' ]; then
31-
echo "Spring code format validation failed, please run `spring-javaformat:apply` to fix and resubmit"
32-
exit 1
33-
fi
23+
mvn spring-javaformat:validate

0 commit comments

Comments
 (0)