Skip to content

Updated maven plugins #25

Updated maven plugins

Updated maven plugins #25

Workflow file for this run

name: Java CI with Maven
on:
push:
branches-ignore:
- original_code
pull_request:
branches-ignore:
- original_code
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Run code coverage
run: mvn jacoco:report
- uses: codecov/codecov-action@v1