targeting oxygen 26 by default #10
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: Tests | |
| on: | |
| push: | |
| paths-ignore: | |
| - 'README.md' | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| verify: | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'adopt' | |
| cache: maven | |
| - name: run maven | |
| run: mvn --batch-mode --update-snapshots verify | |
| - name: run maven with buildprofile for Oxygen version 23.* | |
| run: mvn -Doxygen.version=23 --batch-mode --update-snapshots clean verify | |
| - name: run maven with buildprofile for Oxygen version 24.0 | |
| run: mvn -Doxygen.version=24.0 --batch-mode --update-snapshots clean verify | |
| - name: run maven with buildprofile for Oxygen version 24.1 etc. | |
| run: mvn -Doxygen.version=24 --batch-mode --update-snapshots clean verify | |
| - name: run maven with buildprofile for Oxygen version 25 | |
| run: mvn -Doxygen.version=25 --batch-mode --update-snapshots clean verify | |
| format: | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'adopt' | |
| cache: maven | |
| - name: run maven | |
| run: mvn --batch-mode --update-snapshots spotless:check |