Skip to content

Add a module descriptor ro the tracing API. Used automatic module nam… #129

Add a module descriptor ro the tracing API. Used automatic module nam…

Add a module descriptor ro the tracing API. Used automatic module nam… #129

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
branches:
- '**'
# Only run the latest job
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
env:
MVN_CMD: './mvnw -V -B -fae'
jobs:
build:
runs-on: ${{ matrix.os }}
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest ]
steps:
- uses: actions/checkout@v7
- name: Set up JDKs
uses: actions/setup-java@v5
with:
distribution: 'temurin'
cache: 'maven'
java-version: |
11
17
21
25
26
- name: Build and Test on ${{ runner.os }}
run: ${{ env.MVN_CMD }} clean install '-Djava11.home=${{env.JAVA_HOME_11_X64}}' '-Djava17.home=${{env.JAVA_HOME_17_X64}}' '-Djava21.home=${{env.JAVA_HOME_21_X64}}' '-Djava25.home=${{env.JAVA_HOME_25_X64}}'
- name: Upload test logs for failed run
uses: actions/upload-artifact@v7
if: failure()
with:
name: failure-reports-${{ matrix.os }}
path: |
**/surefire-reports/**
**/failsafe-reports/**
**/*.log
format-check:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v7
- name: Set up JDK 25
uses: actions/setup-java@v5
with:
java-version: 25
distribution: 'temurin'
cache: 'maven'
- name: Validate Formatting
run: |
${{ env.MVN_CMD }} validate -Pformat-check -Denforcer.skip=true