chore: update tests to test current versions of Java

This commit is contained in:
Florian Bouillon 2023-12-28 02:31:46 +01:00 committed by GitHub
parent 797582f39f
commit 2ca33328d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,13 +20,17 @@ jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# follows https://en.wikipedia.org/wiki/Java_version_history#Release_table
java-versions: ['8', '11', '17', '21']
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
- name: Set up Java ${{ matrix.java-versions }}
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: ${{ matrix.java-versions }}
distribution: 'temurin'
- name: Build with Gradle
uses: gradle/gradle-build-action@fec4a42eb0c83154e5c9590748ba8337949c5701