Skip to content

chore(deps): update codecov/codecov-action action to v4.6.0 #197

chore(deps): update codecov/codecov-action action to v4.6.0

chore(deps): update codecov/codecov-action action to v4.6.0 #197

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Zulu OpenJDK 11
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 11
- name: Cache local Maven repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Run tests with Maven
run: mvn -B test -P quality --file pom.xml\
- name: Upload to Codecov
uses: codecov/codecov-action@v4.6.0
with:
file: ./target/site/jacoco/jacoco.xml
flags: unittests