chore(artifacthub): changes for v0.8.0 release #408
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Codecov | |
permissions: {} | |
on: | |
pull_request: | |
branches: [ "main" ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
codecov: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Setup caches | |
uses: ./.github/actions/setup-caches | |
timeout-minutes: 5 | |
continue-on-error: true | |
with: | |
build-cache-key: codecov | |
- name: Check secret | |
id: checksecret | |
uses: ./.github/actions/exists | |
with: | |
value: ${{ secrets.CODECOV_TOKEN }} | |
- name: Generate Code Coverage Report | |
if: steps.checksecret.outputs.result == 'true' | |
run: make test | |
- name: Upload Report to Codecov | |
if: steps.checksecret.outputs.result == 'true' | |
uses: codecov/codecov-action@3b1354a6c45db9f1008891f4eafc1a7e94ce1d18 # v5.0.1 | |
with: | |
file: ./coverage.out | |
fail_ci_if_error: true | |
verbose: true |