Skip to content

Commit dfce9c0

Browse files
committed
GitHub actions: java matrix - 8, 11, 17
1 parent 3a4b886 commit dfce9c0

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

β€Ž.github/workflows/master.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,21 @@ on: [ push, fork ]
44
jobs:
55
TEST_ALL:
66
runs-on: ubuntu-latest
7+
strategy:
8+
matrix:
9+
java: [ '8', '11', '17' ]
710
steps:
811
- name: Checkout
912
uses: actions/checkout@v3
1013

11-
- name: πŸͺœ Setup java 17
14+
- name: πŸͺœ Setup java ${{ matrix.java }}
1215
uses: actions/setup-java@v3
1316
with:
14-
java-version: 17
17+
java-version: ${{ matrix.java }}
1518
distribution: temurin
1619

1720
- name: 🦞 chmod /gradlew
1821
run: chmod +x ./gradlew
1922

20-
- name: πŸ”¦ Tes 🎚
23+
- name: πŸ”¦ Test
2124
run: ./gradlew test --info

β€Žgradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
java=17
1+
java=1.8
22
kotlin.code.style=official
33
org.gradle.caching=true
44
org.gradle.parallel=true

β€Žsrc/test/kotlin/org/springdoc/openapi/gradle/plugin/OpenApiGradlePluginTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class OpenApiGradlePluginTest {
3535
3636
group = 'com.example'
3737
version = '0.0.1-SNAPSHOT'
38-
sourceCompatibility = '17'
38+
sourceCompatibility = '1.8'
3939
4040
repositories {
4141
mavenCentral()

0 commit comments

Comments
Β (0)