Skip to content

Commit 511bf2a

Browse files
committed
fix: update targets to 1.8 and test on 17
1 parent 1f42d84 commit 511bf2a

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@ jobs:
1212
build:
1313
strategy:
1414
matrix:
15-
java: [ '8', '11', '15' ]
16-
os: [ 'ubuntu-latest' ]
15+
java: [ '8', '17' ]
16+
os: [ 'ubuntu-latest', 'windows-latest' ]
1717
runs-on: ${{ matrix.os }}
1818
steps:
1919
- uses: actions/checkout@v2
2020
- name: Set up JDK
21-
uses: actions/setup-java@v1
21+
uses: actions/setup-java@v2
2222
with:
23+
distribution: 'temurin'
2324
java-version: ${{ matrix.java }}
2425
- name: print Java version
2526
run: java -version

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ under the License.
187187
<artifactId>maven-compiler-plugin</artifactId>
188188
<version>3.8.0</version>
189189
<configuration>
190-
<source>1.6</source>
191-
<target>1.6</target>
190+
<source>1.8</source>
191+
<target>1.8</target>
192192
</configuration>
193193
</plugin>
194194

@@ -310,7 +310,7 @@ under the License.
310310
<excludes>
311311
<exclude>org/scoverage/plugin/HelpMojo.java</exclude>
312312
</excludes>
313-
<targetJdk>1.6</targetJdk>
313+
<targetJdk>1.8</targetJdk>
314314
</configuration>
315315
</plugin>
316316

0 commit comments

Comments
 (0)