Skip to content

Bump codecov/codecov-action from 3 to 5 #504

Bump codecov/codecov-action from 3 to 5

Bump codecov/codecov-action from 3 to 5 #504

Workflow file for this run

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# 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:
schedule:
# each first day of month
- cron: "0 0 1 * *"
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 11, 15, 17 ]
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: 'adopt'
cache: maven
- name: Build with Maven
run: mvn -B org.jacoco:jacoco-maven-plugin:prepare-agent package jib:dockerBuild verify --file pom.xml
- name: Codecov
uses: codecov/codecov-action@v5