Skip to content

Commit 5fab803

Browse files
committed
Bump codecov/codecov-action to v2
The `codecov/codecov-action` GitHub Actions action is used in the "libraries/report-size-deltas workflow" workflow to upload code coverage data to Codecov. The previously used `codecov/codecov-action@v1` version is deprecated and will cease working in less than a month: https://github.com/codecov/codecov-action#%EF%B8%8F--deprecration-of-v1 The use of the `v2` major version ref will cause the workflow to use a stable version of the action, while also benefiting from ongoing development to the action up until such time as a new major release of an action is made. At that time we would need to evaluate whether any changes to the workflow are required by the breaking change that triggered the major release before manually updating the major ref (e.g., uses: `codecov/codecov-action@v3`).
1 parent 971cb63 commit 5fab803

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/libraries_report-size-deltas.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
run: coverage report
5252

5353
- name: Upload coverage report to Codecov
54-
uses: codecov/codecov-action@v1
54+
uses: codecov/codecov-action@v2
5555
with:
5656
file: ${{ env.COVERAGE_DATA_FILENAME }}
5757
fail_ci_if_error: true

0 commit comments

Comments
 (0)