Skip to content

update codecov action in workflow #19

update codecov action in workflow

update codecov action in workflow #19

Workflow file for this run

name: Actions on pull requests
on:
pull_request:
branches:
- develop
- master
jobs:
pull-request-job:
runs-on: ubuntu-latest
steps:
- name: Step 1 - Checkout repository code
uses: actions/checkout@v4
- name: Step 2 - Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: 'maven'
- name: Step 3 - Cache Docker images.
uses: ScribeMD/docker-cache@0.3.7
with:
key: docker-${{ runner.os }}
- name: Step 4 - Build & Test
run: mvn clean verify -ntp
- name: Step 5 - Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true