mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-03-04 18:50:31 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](8ade135a41...b4ffde65f4)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
39 lines
1.0 KiB
YAML
39 lines
1.0 KiB
YAML
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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
|
- 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@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
|
|
with:
|
|
file: ./coverage.out
|
|
fail_ci_if_error: true
|
|
verbose: true
|