Skip to content

Commit f712783

Browse files
committed
ci: add condition for running spotless
1 parent eee6e27 commit f712783

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
uses: gradle/gradle-build-action@v3
3131

3232
- name: Check code formatting
33+
if: matrix.java == '17' || matrix.java == '21'
3334
run: ./gradlew spotlessCheck --no-daemon
3435

3536
- name: Build with Gradle

0 commit comments

Comments
 (0)