Skip to content

Commit 10994ca

Browse files
Merge pull request #48 from wiremock/ci-matrix
Run CI against all supported Java versions: 8, 11, 17
2 parents 34482c6 + 8c2ca19 commit 10994ca

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/maven.yml renamed to .github/workflows/ci.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# separate terms of service, privacy policy, and support
77
# documentation.
88

9-
name: Java CI with Maven
9+
name: CI
1010

1111
on:
1212
push:
@@ -17,12 +17,18 @@ on:
1717
jobs:
1818
build:
1919
runs-on: ubuntu-latest
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
jdk: [8, 11, 17]
24+
env:
25+
JDK_VERSION: ${{ matrix.jdk }}
2026
steps:
2127
- uses: actions/checkout@v3
22-
- name: Set up JDK 11
28+
- name: Set up JDK
2329
uses: actions/setup-java@v3
2430
with:
25-
java-version: '11'
31+
java-version: ${{ matrix.jdk }}
2632
distribution: 'temurin'
2733
cache: maven
2834
- name: Build with Maven

0 commit comments

Comments
 (0)