Skip to content

Added in opentel integration requirements #367

Added in opentel integration requirements

Added in opentel integration requirements #367

Workflow file for this run

name: Main Build
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- name: Cache local Maven repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Run Maven - JDK 17
run: ./mvnw clean verify -B
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Run Maven - JDK 21
run: ./mvnw clean verify -B
- name: Set up JDK 23
uses: oracle-actions/setup-java@v1
with:
website: jdk.java.net
release: 23
- name: Run Maven - JDK 23
run: ./mvnw clean verify -Pall-quality-gates -B
- name: Set up JDK 23 (MDC Disabled)
uses: oracle-actions/setup-java@v1
with:
website: jdk.java.net
release: 23
- name: Run Maven - MDC disabled
run: ./mvnw clean verify -Dspring.profiles.active=mdc-disabled -Pall-quality-gates -B