diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ef1ff3f3..d40b148c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: distribution: 'temurin' cache: maven - name: Validate backend format - run: mvn formatter:validate + run: cd backend && mvn spotless:check buildBackend: name: Build backend runs-on: ubuntu-latest diff --git a/backend/pom.xml b/backend/pom.xml index 1a47581b..b791210e 100644 --- a/backend/pom.xml +++ b/backend/pom.xml @@ -126,13 +126,40 @@ + - net.revelc.code.formatter - formatter-maven-plugin - 2.22.0 + com.diffplug.spotless + spotless-maven-plugin + 2.43.0 - formatJava.xml + + + + .gitattributes + .gitignore + + + + + true + 4 + + + + + + formatJava.xml + + + + + + apply + + validate + + ${quarkus.platform.group-id}