Add the enforcer plugin and require a minimum of Java 21 to compile t… #355
Workflow file for this run
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: Jakarta REST CI | |
on: | |
push: | |
branches: [ master, release-4.0 ] | |
pull_request: | |
branches: [ master, release-4.0 ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ '21' ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v2 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: 'temurin' | |
- name: Build with Maven | |
run: mvn -B verify |