Skip to content

Commit

Permalink
build(deps): update codecov/codecov-action action to v4 (#141)
Browse files Browse the repository at this point in the history
Co-authored-by: aki-bot <103840025+aki-bot[bot]@users.noreply.github.com>
Co-authored-by: Aki Kanellis <hello@akikanellis.com>
  • Loading branch information
aki-bot[bot] and akikanellis committed Mar 31, 2024
1 parent e275c16 commit a34e2c1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
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

0 comments on commit a34e2c1

Please sign in to comment.