Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Update actions/checkout action to v4 #89

Update actions/checkout action to v4

Update actions/checkout action to v4 #89

Workflow file for this run

name: codecov
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
codecov:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
maven-
- run: |
mvn clean install
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./target/site/jacoco/jacoco.xml
fail_ci_if_error: true