Fixes for gaps in the ELM visitor #7
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: gradle spotlessCheck (Formatting) | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
format-check: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '21' | |
- name: Run gradle spotlessCheck | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: spotlessCheck | |
build-root-directory: Src/java | |
- 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. |