Merge pull request #199 from xjusko/dont-update-PR-body-when-not-needed #10
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: Format check | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build-and-test: | |
name: Checkout and run check | |
timeout-minutes: 120 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
name: checkout | |
- uses: actions/setup-java@v1 | |
name: Set up JDK 21 | |
with: | |
distribution: "temurin" | |
java-version: 21 | |
- name: Build with Maven | |
run: mvn clean formatter:validate |