Skip to content

Commit

Permalink
Merge pull request #48 from wiremock/ci-matrix
Browse files Browse the repository at this point in the history
Run CI against all supported Java versions: 8, 11, 17
  • Loading branch information
oleg-nenashev authored May 27, 2023
2 parents 34482c6 + 8c2ca19 commit 10994ca
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/maven.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# separate terms of service, privacy policy, and support
# documentation.

name: Java CI with Maven
name: CI

on:
push:
Expand All @@ -17,12 +17,18 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
jdk: [8, 11, 17]
env:
JDK_VERSION: ${{ matrix.jdk }}
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: ${{ matrix.jdk }}
distribution: 'temurin'
cache: maven
- name: Build with Maven
Expand Down

0 comments on commit 10994ca

Please sign in to comment.