Cleanup and re-format Zest JFace snippets #1443
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: GEF Class verification build | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
java: [ 21 ] | |
toolchain: [ 17, 21 ] | |
runs-on: ${{ matrix.os }} | |
name: OS ${{ matrix.os }} Java ${{ matrix.java }} Toolchain Java ${{ matrix.toolchain }} compile | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Set up Java 17 for toolchain | |
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.toolchain }} | |
mvn-toolchain-id: JavaSE-17 | |
cache: 'maven' | |
- name: Set up Java 21 | |
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.java }} | |
mvn-toolchain-id: JavaSE-21 | |
cache: 'maven' | |
- name: Set up Maven | |
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5 | |
with: | |
maven-version: 3.9.3 | |
- name: Build with Maven | |
uses: coactions/setup-xvfb@b6b4fcfb9f5a895edadc3bc76318fae0ac17c8b3 # v1.0.1 | |
with: | |
run: >- | |
mvn -V -B -fae -ntp -DJDK=BREE clean verify | |
- name: Upload Test Results for Java-${{ matrix.java }} | |
if: always() | |
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0 | |
with: | |
name: test-results-${{ matrix.os }}-java${{ matrix.java }}-toolchain${{ matrix.toolchain }} | |
if-no-files-found: error | |
path: | | |
${{ github.workspace }}/**/target/surefire-reports/*.xml |