Merge pull request #43 from TNG/41-add-support-for-junit-5-lifecycle-… #44
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: | |
pull_request: | |
branches: [ "master" ] | |
workflow_dispatch: # allows manual triggering | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false # ensures build runs for all JDKs | |
matrix: | |
java: [ '8', '11', '17', '21' ] | |
name: Java ${{ matrix.Java }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: 'temurin' | |
- name: Set up Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
with: | |
gradle-version: "8.5" | |
- name: Build with Gradle | |
run: ./gradlew clean build |