Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): update codecov/codecov-action action to v4 #141

Merged
merged 5 commits into from Mar 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/build-main.yml
Expand Up @@ -30,6 +30,8 @@ jobs:
uses: ./.github/workflows/test.yml
with:
continue-on-error: true
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

release:
name: Release
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-pr.yml
Expand Up @@ -17,6 +17,8 @@ jobs:
test:
name: Test
uses: ./.github/workflows/test.yml
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

validate-branch-name:
name: Validate branch name
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Expand Up @@ -9,6 +9,10 @@ name: Test
description: Allow a workflow run to pass when this workflow fails
required: false
default: false
secrets:
CODECOV_TOKEN:
description: The token used by Codecov
required: true

jobs:
test:
Expand Down Expand Up @@ -37,6 +41,7 @@ jobs:

- name: Upload test coverage to Codecov
# yamllint disable-line rule:line-length
uses: codecov/codecov-action@ab904c41d6ece82784817410c45d8b8c02684457 # v3.1.6
uses: codecov/codecov-action@c16abc29c95fcf9174b58eb7e1abf4c866893bc8 # v4.1.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true