Skip to content

Merge pull request #161 from orchitech/upgrade-swagger #240

Merge pull request #161 from orchitech/upgrade-swagger

Merge pull request #161 from orchitech/upgrade-swagger #240

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [11, 17]
name: "Java ${{ matrix.java }} build"
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Run the Maven verify phase
run: mvn -B verify -Dpmd.skip