Skip to content

Minor updates to ComparableNumbers based on PR feedback. #517

Minor updates to ComparableNumbers based on PR feedback.

Minor updates to ComparableNumbers based on PR feedback. #517

Workflow file for this run

name: Java Build
permissions: {}
on:
push:
branches: ["main"]
pull_request:
branches: ["main", "release-*"]
concurrency:
group: java-build-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
strategy:
matrix:
os: [ ubuntu-20.04 ]
java: [ "8", "11", "17", "21"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Verify with Maven
run: mvn --batch-mode --errors --update-snapshots verify
- name: Run benchmarks
run: mvn test '-Dtest=Benchmarks#CL2*'
- name: Run JMH benchmarks
run: mvn exec:exec@run-jmh-benchmarks