From 5a3110eec58574b8961c6fbda3e605872c4e606d Mon Sep 17 00:00:00 2001 From: Julien Gribonvald Date: Thu, 13 Oct 2022 15:07:03 +0200 Subject: [PATCH] CI: add java 11 test --- .github/workflows/CI.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 1ca68d0..1e058eb 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -9,13 +9,14 @@ on: jobs: test: - name: '${{ matrix.platform }} with Java 8' + name: '${{ matrix.platform }} with Java ${{ matrix.java }}' strategy: matrix: platform: - ubuntu-latest - windows-latest - macos-latest + java: [ '8', '11' ] runs-on: ${{ matrix.platform }} steps: - name: Checkout @@ -23,7 +24,8 @@ jobs: - name: Set up JDK uses: actions/setup-java@v3 with: - distribution: adopt-hotspot - java-version: 8 + distribution: 'temurin' + java-version: ${{ matrix.java }} + cache: 'maven' - name: Build and Test run: mvn -B package