Merge pull request #2745 from uPortal-Project/renovate/spotbugs-4.x #1692
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: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
name: '${{ matrix.platform }} with Java ${{ matrix.java-distribution }} version ${{ matrix.java-version }}' | |
strategy: | |
matrix: | |
platform: | |
- ubuntu-latest | |
java-distribution: | |
- adopt-hotspot | |
- temurin | |
- zulu | |
java-version: | |
- 8 | |
- 11 | |
include: | |
- platform: windows-latest | |
java-distribution: adopt-hotspot | |
java-version: 11 | |
- platform: macos-latest | |
java-distribution: adopt-hotspot | |
java-version: 11 | |
runs-on: ${{ matrix.platform }} | |
timeout-minutes: 45 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Gradle Wrapper Validation | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: ${{ matrix.java-distribution }} | |
java-version: ${{ matrix.java-version }} | |
- name: Build and Test | |
run: ./gradlew -S --no-daemon --no-parallel build jacocoAggregateReport coveralls | |
- name: Lint JavaScript | |
run: ./gradlew -S --no-daemon --no-parallel :npm_run_lint-js |