Skip to content

Improve test coverage #270

Improve test coverage

Improve test coverage #270

name: "build jdk latest"
on:
[ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK Latest
uses: actions/setup-java@v4
with:
distribution: 'oracle'
java-version: '21'
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.6
- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Display date
run: date
- name: Build with maven
run: mvn clean install --show-version --batch-mode --errors --update-snapshots