Skip to content

Commit

Permalink
Workaround spotless plugin bug
Browse files Browse the repository at this point in the history
See projectnessie#4655, required until diffplug/spotless#1215 is fixed. Similar to projectnessie/cel-java#185.
  • Loading branch information
snazy committed Jul 7, 2022
1 parent 98278a2 commit 66f62d8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,15 @@ jobs:
with:
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}

- name: Gradle / spotless
uses: gradle/gradle-build-action@v2
with:
arguments: spotlessCheck

- name: Gradle / compile
uses: gradle/gradle-build-action@v2
with:
arguments: spotlessCheck checkstyleMain checkstyleTest jar testClasses testJar
arguments: checkstyleMain checkstyleTest jar testClasses testJar

- name: Gradle / unit test
uses: gradle/gradle-build-action@v2
Expand All @@ -46,7 +51,7 @@ jobs:
- name: Gradle / check incl. integ-test
uses: gradle/gradle-build-action@v2
with:
arguments: check
arguments: check -x spotlessCheck

- name: Gradle / Gatling simulations
uses: gradle/gradle-build-action@v2
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,15 @@ jobs:
- name: Setup Java, Maven
uses: ./.github/actions/dev-tool-java

- name: Gradle / spotless
uses: gradle/gradle-build-action@v2
with:
arguments: spotlessCheck

- name: Gradle / compile
uses: gradle/gradle-build-action@v2
with:
arguments: spotlessCheck checkstyleMain checkstyleTest jar testClasses testJar
arguments: checkstyleMain checkstyleTest jar testClasses testJar

- name: Gradle / unit test
uses: gradle/gradle-build-action@v2
Expand All @@ -66,7 +71,7 @@ jobs:
- name: Gradle / check incl. integ-test
uses: gradle/gradle-build-action@v2
with:
arguments: check
arguments: check -x spotlessCheck

- name: Gradle / Gatling simulations
uses: gradle/gradle-build-action@v2
Expand Down

0 comments on commit 66f62d8

Please sign in to comment.