Skip to content

Commit b4ee814

Browse files
committed
Bump Java version to 17 and run tests with 17
1 parent 5454ea7 commit b4ee814

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/run_tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Run tests
22

33
on:
44
push:
5-
branches: [ master, develop ]
5+
branches: [ java17 ]
66
pull_request:
7-
branches: [ master, develop ]
7+
branches: [ java17 ]
88

99
# Cancel job when new commit is pushed for the same build
1010
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
@@ -19,11 +19,11 @@ jobs:
1919

2020
strategy:
2121
matrix:
22-
java: ['8', '11']
22+
java: ['17']
2323

2424
steps:
2525
- uses: actions/checkout@v2
26-
- name: Set up JDK 11 for x64
26+
- name: Set up JDK 17 for x64
2727
uses: actions/setup-java@v2
2828
with:
2929
java-version: ${{ matrix.java }}

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
<properties>
4646
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
47-
<jdk.version>1.8</jdk.version>
47+
<jdk.version>17</jdk.version>
4848
<oskari.version>${project.version}</oskari.version>
4949
<!-- Value comes from profile when needed -->
5050
<module.build.config></module.build.config>

0 commit comments

Comments
 (0)