Update cover-baseline.yml

fix java version
This commit is contained in:
Mathew Lodge 2023-11-09 09:56:52 +00:00 committed by GitHub
parent 86b6a851bd
commit 653987e247
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,6 +11,9 @@ concurrency:
jobs: jobs:
Test: Test:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
strategy:
matrix:
java: [ '17' ]
env: env:
JVM_ARGS: -Xmx8192m JVM_ARGS: -Xmx8192m
steps: steps:
@ -18,6 +21,12 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Set up JDK ${{matrix.java}}
uses: actions/setup-java@v2
with:
java-version: ${{matrix.java}}
distribution: 'adopt'
cache: maven
- name: Compile project - name: Compile project
run: mvn --batch-mode --no-transfer-progress clean compile run: mvn --batch-mode --no-transfer-progress clean compile
- name: Download Diffblue Cover - name: Download Diffblue Cover