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