diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 0000000..51e96e7 --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,29 @@ +# This workflow will build a Java project with Maven +# 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] + # push: + # branches: [ master ] + # pull_request: + # branches: [ master ] + +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + java: [11, 17, 21, 22-ea] + dist: ['zulu'] + name: Build and Verify with JDK ${{ matrix.dist }} ${{ matrix.java }} + steps: + - uses: ts-graphviz/setup-graphviz@v1 + - uses: actions/checkout@v4 + - name: Set up JDK ${{ matrix.dist }} ${{ matrix.java }} + uses: actions/setup-java@v4 + with: + distribution: ${{ matrix.dist }} + java-version: ${{ matrix.java }} + - name: Verify with Maven + run: mvn -DperformRelease=true --batch-mode --no-transfer-progress clean verify failsafe:integration-test diff --git a/pom.xml b/pom.xml index 25ed91e..b126eda 100644 --- a/pom.xml +++ b/pom.xml @@ -37,9 +37,9 @@ UTF-8 - 1.6 - 1.6 - 1.6 + 1.8 + 1.8 + 8