chore(deps): update plugin spotless to v8.1.0 #700
Workflow file for this run
This file contains hidden or 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: Run tests | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ${{ github.head_ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| check: | |
| strategy: | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| - macOS-latest | |
| - windows-latest | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5.0.1 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up JDK | |
| uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0 | |
| with: | |
| distribution: temurin | |
| java-version: 23 | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5 | |
| with: | |
| add-job-summary: always | |
| validate-wrappers: true | |
| - name: Run unit tests | |
| shell: bash | |
| run: ./gradlew --no-daemon --no-configuration-cache check | |
| - name: (Fail-only) Upload test report | |
| if: "${{ failure() }}" | |
| uses: actions/upload-artifact@v5.0.0 | |
| with: | |
| name: Test report | |
| path: build/reports | |
| check-coverage: | |
| permissions: | |
| pull-requests: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5.0.1 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up JDK | |
| uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0 | |
| with: | |
| distribution: temurin | |
| java-version: 23 | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5 | |
| with: | |
| add-job-summary: always | |
| validate-wrappers: true | |
| - name: Check coverage | |
| shell: bash | |
| run: ./gradlew --no-daemon --no-configuration-cache koverXmlReport | |
| - name: Add coverage report to PR | |
| id: kover | |
| uses: mi-kas/kover-report@v1 | |
| with: | |
| path: ${{ github.workspace }}/build/reports/kover/report.xml | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| title: Code Coverage | |
| update-comment: true | |
| min-coverage-overall: 80 | |
| min-coverage-changed-files: 80 |