Skip to content

Merge pull request #155 from sfuhrm/dependabot/maven/org.wiremock-wir… #365

Merge pull request #155 from sfuhrm/dependabot/maven/org.wiremock-wir…

Merge pull request #155 from sfuhrm/dependabot/maven/org.wiremock-wir… #365

name: Java Integration
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
integration:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 11, 17, 21 ]
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: ${{ matrix.java }}
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: |
~/.m2/repository
key: maven-build
- name: Build with Maven
run: mvn -Pfailsafe -B package --file pom.xml