Skip to content

Drop me

Drop me #11

# Do not modify!
# This file was generated from a template using https://github.com/StefMa/pkl-gha
name: Checks
'on':
pull_request: {}
push: {}
jobs:
gradle-checks:
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
jdk:
- '17'
- '21'
permissions:
checks: write
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: adopt
java-version: ${{ matrix.jdk }}
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Gradle check
run: ./gradlew --info --stacktrace check
- name: Report test results
if: ${{ always() }}
uses: mikepenz/action-junit-report@v5
with:
check_name: Rest Results JDK ${{ matrix.jdk }} on ${{ matrix.os }}
report_paths: '**/build/test-results/test/TEST-*.xml'