ci: restore Java compatibility checks #294
This file contains hidden or 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: Build and Test | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Java ${{ matrix.java }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| java: ["8", "11"] | |
| steps: | |
| - name: Check out source | |
| uses: actions/checkout@v7 | |
| - name: Set up Java ${{ matrix.java }} | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: ${{ matrix.java }} | |
| cache: maven | |
| - name: Verify | |
| run: >- | |
| mvn --batch-mode --no-transfer-progress --fail-fast clean verify | |
| -Pjacoco,rat,checkstyle | |
| -DskipTests=false | |
| -Dcheckstyle.skip=false | |
| -Drat.skip=false | |
| -Dmaven.javadoc.skip=true | |
| -Dgpg.skip=true |