Skip to content

Bump codecov/codecov-action from 5.1.1 to 5.1.2 #9

Bump codecov/codecov-action from 5.1.1 to 5.1.2

Bump codecov/codecov-action from 5.1.1 to 5.1.2 #9

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: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: corretto
cache: maven
- name: Build with Maven
run: mvn package -ntp
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5.1.2
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: ${{ github.repository }}
- name: Submit Dependency Snapshot
uses: advanced-security/maven-dependency-submission-action@v4