Skip to content

Updated Enforcer rules #134

Updated Enforcer rules

Updated Enforcer rules #134

Workflow file for this run

name: jacoco
on:
push:
branches:
- '*'
- '**/*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v1
- name: Set up JDK 9
uses: actions/setup-java@v1
with:
java-version: 9
- name: Cache .m2
uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven
- name: Prepare mvnw
run: chmod +x ./mvnw
- name: Build
run: ./mvnw verify jacoco:report-aggregate -B -q
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1.0.2
with:
token: ${{secrets.CODECOV_TOKEN}}
file: target/site/jacoco-aggregate/jacoco.xml