Skip to content

Improve shadow jar tasks (#3135) #1871

Improve shadow jar tasks (#3135)

Improve shadow jar tasks (#3135) #1871

Workflow file for this run

name: Pull Request Validation
on:
push:
branches: [ master ]
pull_request:
merge_group:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up JDK
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
with:
distribution: temurin
java-version: 25
- name: Setup Gradle
uses: gradle/actions/setup-gradle@9c971963bec38e04b3d30dcc455b5382be2fdbfb # v6.3.0
- name: Validate gradle wrapper jar
uses: gradle/actions/wrapper-validation@9c971963bec38e04b3d30dcc455b5382be2fdbfb # v6.3.0
- name: Build and test
run: ./gradlew --build-cache --parallel build test
- name: Upload JUnit XML Test Report
if: ${{ !cancelled() }}
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: junit-xml-test-report
path: build/test-results/test
- name: Upload HTML Test Report
if: ${{ !cancelled() }}
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: junit-html-test-report
path: build/reports/tests/test
- name: Annotate Failed Tests
uses: mikepenz/action-junit-report@d9f48fc87bc235f7e214acf696ca5abc0a986f16 # v6.4.2
if: ${{ !cancelled() }}
with:
report_paths: '**/build/test-results/test/TEST-*.xml'
annotate_only: 'true'