An Annotation-Based Way to Convert From Element
/ Elements
to Java objects (Jackson/GSON style).
#886
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: Build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
# choosing to run a reduced set of LTS, current, and next, to balance coverage and execution time | |
java: [8, 17, 20] | |
fail-fast: false | |
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: 'temurin' | |
cache: 'maven' | |
- name: Maven Compile | |
run: mvn -X compile -B --file pom.xml | |
- name: Maven Verify | |
run: mvn -X verify -B --file pom.xml | |
... |