Skip to content

Commit f9de366

Browse files
committed
Show a descriptive Fix of the styleguide errors
Signed-off-by: Alfredo Gutierrez <[email protected]>
1 parent ccd0718 commit f9de366

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/spotless-check.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,10 @@ jobs:
3535
3636
- name: Run Spotless Check
3737
run: ./gradlew spotlessCheck
38+
continue-on-error: true
3839

39-
- name: Run Spotless Apply and Check for Changes
40-
id: check_spotless
40+
- name: Fail if Spotless Check Fails
41+
if: failure()
4142
run: |
42-
./gradlew spotlessApply
43-
if ! git diff --exit-code; then
44-
echo "Spotless found formatting issues. Please run './gradlew spotlessApply' to fix them."
45-
exit 1
46-
fi
43+
echo "Spotless found formatting issues. Please run './gradlew spotlessApply' to fix them."
44+
exit 1

0 commit comments

Comments
 (0)