Skip to content

Merge pull request #157 from sfuhrm/dependabot/maven/org.apache.maven… #361

Merge pull request #157 from sfuhrm/dependabot/maven/org.apache.maven…

Merge pull request #157 from sfuhrm/dependabot/maven/org.apache.maven… #361

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