Skip to content

Commit

Permalink
fixing the thing
Browse files Browse the repository at this point in the history
Signed-off-by: Alfredo Gutierrez <[email protected]>
  • Loading branch information
AlfredoG87 committed Jul 11, 2024
1 parent cdb4bd2 commit 0d5646c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/spotless-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,11 @@ jobs:
run: ./gradlew spotlessCheck
continue-on-error: true

- name: Fail if Spotless Check Fails
if: always()
- name: Run Spotless Check
run: |
if [ "${{ steps.spotless_check.outcome }}" == "failure" ]; then
./gradlew spotlessCheck
if [ $? -ne 0 ]; then
echo "Spotless found formatting issues. Please run './gradlew spotlessApply' to fix them."
exit 1
fi
continue-on-error: false

0 comments on commit 0d5646c

Please sign in to comment.