Skip to content

Complex restrictions; enum change; cardinality + required improvements #34

Complex restrictions; enum change; cardinality + required improvements

Complex restrictions; enum change; cardinality + required improvements #34

Workflow file for this run

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
on: [push, pull_request]
env:
IMAGE_NAME: wings
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
java: ["11", "17", "21"]
name: Java ${{ matrix.Java }}
steps:
- uses: actions/checkout@v3
- name: Setup java
uses: actions/setup-java@v3
with:
distribution: "adopt"
java-version: ${{ matrix.java }}
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Test with Maven
run: mvn -B test --file pom.xml