Skip to content

Commit 70335da

Browse files
committed
custom error message
1 parent 5952b27 commit 70335da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/code-formatting.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ jobs:
1818
java-version: '17'
1919

2020
- name: Check code formatting
21-
run: ./gradlew spotlessCheck
21+
run: ./gradlew spotlessCheck || echo "::error title=Format check failed::Run ./gradlew spotlessApply to fix." && exit 1
2222

0 commit comments

Comments
 (0)