Bump org.junit.platform:junit-platform-launcher from 1.11.3 to 1.11.4 #3326
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: Java CI | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
- name: Build with Gradle | |
run: ./gradlew assemble | |
check: | |
name: Check files | |
outputs: | |
tests_changed: ${{ steps.check_files.outputs.tests_changed }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Check modified files | |
id: check_files | |
run: | | |
git diff --name-only origin/master HEAD > files.txt | |
tests_changed=false | |
while IFS= read -r file; do | |
if [[ $file == */test/* ]]; then | |
tests_changed=true | |
break | |
fi | |
done < files.txt | |
echo "tests_changed=$tests_changed" >> $GITHUB_OUTPUT | |
junit_test_changed: | |
name: JUnit (matrix build) | |
needs: [build, check] | |
if: ${{ needs.check.outputs.tests_changed == 'true' }} | |
strategy: | |
matrix: | |
os: [windows-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
- name: JUnit | |
run: ./gradlew test | |
junit: | |
name: JUnit (Linux only) | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
- name: JUnit | |
run: ./gradlew test | |
spotless: | |
name: Spotless | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
- name: Spotless | |
run: ./gradlew spotlessJavaCheck | |
checkstyle: | |
name: Checkstyle | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
- name: Checkstyle | |
run: ./gradlew checkstyleMain checkstyleTest |