Skip to content

Commit

Permalink
Limit spotless to production sources
Browse files Browse the repository at this point in the history
It needs a JDK 21 to process Java 21 (test) sources apparently
  • Loading branch information
fbiville committed Mar 4, 2024
1 parent bb5fbb8 commit fda5773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Build with Maven
run: mvn --quiet --show-version --batch-mode sortpom:verify license:check spotless:check compile
run: mvn --quiet --show-version --batch-mode sortpom:verify license:check spotless:check compile -DspotlessFiles=src/main/java/.*.java
env:
MAVEN_USERNAME: ${{ vars.PACKAGES_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.PACKAGES_PASSWORD }}
Expand Down

0 comments on commit fda5773

Please sign in to comment.