Skip to content

Merge pull request #831 from njr-11/830-TCK-cannot-expect-sorting-on-… #1124

Merge pull request #831 from njr-11/830-TCK-cannot-expect-sorting-on-…

Merge pull request #831 from njr-11/830-TCK-cannot-expect-sorting-on-… #1124

Workflow file for this run

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# 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:
- 'main'
- 'RELEASE-*'
pull_request:
branches:
- 'main'
- 'RELEASE-*'
permissions:
contents: read
jobs:
build:
# TODO update once 25-ea is available
strategy:
matrix:
java-version: [ '17', '21' ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
cache: maven
- name: Build project
run: mvn -B package --file pom.xml
analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up JDK 17
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
with:
java-version: 17
distribution: 'temurin'
cache: maven
- name: Analyze starters
run: mvn dependency:analyze --file tck-dist/src/main/pom.xml