Skip to content

Commit

Permalink
update workflows to Java 21
Browse files Browse the repository at this point in the history
Co-authored-by: martinfrancois <f.martin@fastmail.com>
Co-authored-by: georgebax <george.baxopoulos@gmail.com>
  • Loading branch information
3 people committed Sep 20, 2023
1 parent 5f905ed commit 53d3026
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/binary-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
java-version: 21
cache: 'maven'

- name: Checkout `${{ github.base_ref }}` into subfolder
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
java-version: 21
cache: 'maven'

- name: Compare with the latest release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cross-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
java: [21, 22]
java: [22]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
java-version: 21
cache: 'maven'
- name: Test
run: ./mvnw $MAVEN_ARGS verify javadoc:javadoc
Expand All @@ -38,7 +38,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
java-version: 21
cache: 'maven'
- name: Test with Sonar
run: >
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pitest-receive-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
java-version: 21
cache: 'maven'
- name: run pitest
# pitest has been bound to a profile called pitest for normal running
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pitest-updated-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
java-version: 21
- name: Download artifact
uses: dawidd6/action-download-artifact@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
java-version: 21
server-id: ossrh
server-username: OSSRH_USERNAME
server-password: OSSRH_TOKEN
Expand Down

0 comments on commit 53d3026

Please sign in to comment.