Skip to content

Bump codecov/codecov-action from 4.6.0 to 5.0.7 #47

Bump codecov/codecov-action from 4.6.0 to 5.0.7

Bump codecov/codecov-action from 4.6.0 to 5.0.7 #47

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:
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'adopt'
- name: Build with Maven
run: mvn -B package --file pom.xml
test:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 8
distribution: zulu
- run: mvn -B verify -P coverage --no-transfer-progress
- uses: codecov/[email protected]
with:
name: codecov