Skip to content

Commit

Permalink
Add Java 21 to CI pipeline and also use it by default for building.
Browse files Browse the repository at this point in the history
  • Loading branch information
norrisjeremy committed Nov 13, 2023
1 parent 6883113 commit 17c93ea
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
java-version: '21'
check-latest: true
cache: 'maven'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
java-version: '21'
check-latest: true
cache: 'maven'
- uses: vapier/coverity-scan-action@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/javadoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
java-version: '21'
check-latest: true
- name: Build Javadoc
run: mvn -B -V javadoc:javadoc --file pom.xml
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: ['8', '11', '17']
java: ['8', '11', '17', '21']
steps:
- uses: actions/checkout@v4
- name: Cache local Maven repository
Expand All @@ -31,7 +31,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
java-version: '21'
check-latest: true
- name: Build with Maven
run: mvn -B -V -DskipTests=true package --file pom.xml
Expand Down

0 comments on commit 17c93ea

Please sign in to comment.