Skip to content

Java 21 support

Java 21 support #314

Workflow file for this run

name: Integration
on:
pull_request:
branches: ["main"]
workflow_dispatch:
jobs:
build:
strategy:
matrix:
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- name: cache
uses: actions/cache@v2
with:
path: |
~/.mv2/repository
key: om-${{hashFiles('**/pom.xml')}}
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
java-version: 21
distribution: 'zulu'
- run: mvn dependency:go-offline
- name: Build
run: mvn clean process-test-classes verify
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}