Skip to content

Bump actions/setup-java from 4.1.0 to 4.2.0 #805

Bump actions/setup-java from 4.1.0 to 4.2.0

Bump actions/setup-java from 4.1.0 to 4.2.0 #805

Workflow file for this run

name: CI
permissions: read-all
on:
push:
branches:
- master
pull_request:
jobs:
tests-with-coverage:
strategy:
matrix:
os: ["windows-2022", "ubuntu-22.04"]
name: Tests (${{ matrix.os }}) with coverage
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: actions/setup-java@5896cecc08fd8a1fbdfaf517e29b571164b031f7 # v4.2.0
with:
distribution: 'temurin'
java-version: '17'
- name: Build
run: mvn -Pjacoco clean verify --batch-mode --show-version
- name: Upload coverage to Codecov
uses: codecov/codecov-action@a7b945cea47ad44d8340fae2b004cb982191264f # v4.0.0
with:
file: ./target/site/jacoco/jacoco.xml