chore(deps): update plugin com.diffplug.spotless to v6.25.0 #2571
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 Build | |
on: | |
push: | |
branches-ignore: | |
- 'backport/**' | |
- 'whitesource-remediate/**' | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
spotless: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Spotless Check | |
run: ./gradlew spotlessCheck | |
javadoc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Javadoc CheckStyle | |
run: ./gradlew checkstyleMain | |
- name: Javadoc Check | |
run: ./gradlew javadoc | |
check: | |
needs: [spotless, javadoc] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 21 | |
distribution: temurin | |
- name: Run Gradle Check | |
run: | | |
./gradlew check | |
- name: Upload Coverage Report | |
uses: codecov/codecov-action@v4 | |
with: | |
file: ./build/reports/jacoco/test/jacocoTestReport.xml | |
publish: | |
needs: [check] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Publish to Maven Local | |
run: ./gradlew publishToMavenLocal |