Skip duplicated URLs when gathering deps #926
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: | |
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: spotless:check | |
run: ./mvnw spotless:check | |
- 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 `mvnw spotless:apply` or `mvnw clean install -DskipTests` to fix the formatting issues. |