Skip to content

Commit

Permalink
bumped mvn-spotless-plugin, added .idea/ to .gitignore, java matrix e…
Browse files Browse the repository at this point in the history
…xtended with version 17 and 21
  • Loading branch information
ib-tjuhasz committed Aug 21, 2024
1 parent 134ad5e commit 3f9e6f3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '11' ]
java: [ '11', '17', '21' ]
steps:
- uses: actions/checkout@v4
- name: Set up JDK
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: maven
- name: Maven build
run: |
mvn clean install -U
mvn clean install -U -Djava.version=${{ matrix.java }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*.class
.idea/

# Mobile Tools for Java (J2ME)
.mtj.tmp/
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<version>2.32.0</version>
<version>2.43.0</version>
<configuration>
<java>
<palantirJavaFormat/>
Expand Down

0 comments on commit 3f9e6f3

Please sign in to comment.