Skip to content

Commit 55edcea

Browse files
committed
Bump codecov/codecov-action to v2
The `codecov/codecov-action` GitHub Actions action is used in the "Test Python code" 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 30f6409 commit 55edcea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
coverage report
7979
8080
- name: Upload coverage report to Codecov
81-
uses: codecov/codecov-action@v1
81+
uses: codecov/codecov-action@v2
8282
with:
8383
file: ${{ env.COVERAGE_DATA_FILENAME }}
8484
fail_ci_if_error: true

0 commit comments

Comments
 (0)