HAL-1965 Upgrade datatables.net to ^1.11.3 #130
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: HAL Console CI | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
jobs: | |
quick-build: | |
name: HAL build w/o GWT compilation on JDK 8 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: n1hility/cancel-previous-runs@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/cache@v1 | |
with: | |
path: ~/.m2/repository | |
key: m2-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
m2- | |
- uses: actions/checkout@v2 | |
- name: Set up JDK8 | |
uses: AdoptOpenJDK/install-jdk@v1 | |
with: | |
version: 8 | |
impl: hotspot | |
- name: Build | |
run: mvn -U -B -fae -P skip-gwt clean install | |
- name: Tar Maven Repo | |
shell: bash | |
run: tar -czf maven-repo.tgz -C ~ .m2/repository | |
- name: Persist Maven Repo | |
uses: actions/upload-artifact@v1 | |
with: | |
name: maven-repo | |
path: maven-repo.tgz | |
- uses: actions/upload-artifact@v2 | |
if: failure() | |
with: | |
name: surefire-reports-build | |
path: '**/surefire-reports/*' | |
test-matrix: | |
name: HAL-jdk${{ matrix.jdk }}-${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
needs: quick-build | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-20.04, windows-latest] | |
jdk: [8, 11] | |
steps: | |
- uses: n1hility/cancel-previous-runs@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/checkout@v2 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: AdoptOpenJDK/install-jdk@v1 | |
with: | |
version: ${{ matrix.jdk }} | |
impl: hotspot | |
- name: Download Maven Repo | |
uses: actions/download-artifact@v1 | |
with: | |
name: maven-repo | |
path: . | |
- name: Extract Maven Repo | |
shell: bash | |
run: tar -xzf maven-repo.tgz -C ~ | |
- name: Run Tests | |
run: mvn -U -B -fae -P skip-gwt test | |
- uses: actions/upload-artifact@v2 | |
if: failure() | |
with: | |
name: surefire-reports-${{ matrix.module }}-JDK${{ matrix.jdk }}-${{ matrix.os }} | |
path: '**/surefire-reports/*' |