Skip to content

Fix JUnit Tests

Fix JUnit Tests #60

Workflow file for this run

name: Format Check
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
spotless:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Run Spotless Check
working-directory: ./Src/java
run: ./gradlew spotlessCheck
- uses: mshick/add-pr-comment@v2
if: always()
with:
message-success: |
Formatting check succeeded!
message-failure: |
**This Pull Request has failed the formatting check**
Please run `gradlew spotlessApply` to fix the formatting issues.