Updating the auxliary files such as licence, code of conduct and cont… #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Verify | |
on: | |
push: | |
branches-ignore: | |
- gh-pages | |
env: | |
distribution: 'zulu' | |
jobs: | |
verify-java-11: | |
runs-on: ubuntu-latest | |
env: | |
java-version: 11 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK ${{ env.java-version }} | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ env.java-version }} | |
distribution: ${{ env.distribution }} | |
cache: 'maven' | |
cache-dependency-path: 'pom.xml' | |
- name: Build with Maven | |
run: mvn -B verify --file pom.xml | |
verify-other-jvms: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java-version: ['17', '21'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK ${{ matrix.java-version }} | |
uses: actions/setup-java@v2 | |
with: | |
java-version: ${{ matrix.java-version }} | |
distribution: ${{ env.distribution }} | |
cache: 'maven' | |
cache-dependency-path: 'pom.xml' | |
- name: Build with Maven | |
run: mvn -B verify --file pom.xml | |