From 511bf2a8a06539ca1e0d5e26cf6a32f0d998d79c Mon Sep 17 00:00:00 2001 From: Chris Kipp Date: Wed, 17 Nov 2021 08:47:58 +0100 Subject: [PATCH] fix: update targets to 1.8 and test on 17 --- .github/workflows/ci.yml | 7 ++++--- pom.xml | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8da4f9e1..3c8302cb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,14 +12,15 @@ jobs: build: strategy: matrix: - java: [ '8', '11', '15' ] - os: [ 'ubuntu-latest' ] + java: [ '8', '17' ] + os: [ 'ubuntu-latest', 'windows-latest' ] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: + distribution: 'temurin' java-version: ${{ matrix.java }} - name: print Java version run: java -version diff --git a/pom.xml b/pom.xml index fba429c7..07031eb3 100644 --- a/pom.xml +++ b/pom.xml @@ -187,8 +187,8 @@ under the License. maven-compiler-plugin 3.8.0 - 1.6 - 1.6 + 1.8 + 1.8 @@ -310,7 +310,7 @@ under the License. org/scoverage/plugin/HelpMojo.java - 1.6 + 1.8