Skip to content

Commit 433e641

Browse files
committed
Bump codecov/codecov-action dependency to v3
The "Unit Test" GitHub Actions workflow uses the "codecov/codecov-action" GitHub Actions action to upload coverage data to Codecov. Previously the workflow specified the "v1" version ref for the action dependency. That pinned the dependency to the major version 1 series. Several major version bumps have been made in the action since that time so the use of the v1 ref caused the workflow to use a significantly outdated and deprecated version of the action. Bumping the action to the latest "v3" ref will avoid the potential for the step to stop working entirely (the action docs claim v1 was sunset 1.5 years ago) and allow the workflow to benefit from the enhancements and fixes from ongoing development work in the action until such time as a breaking change in the action triggers them to make another major version bump. At that time it will be necessary for the project maintainers to evaluate whether the breaking change requires any modifications to the workflow before manually bumping the ref again (i.e., `uses: codecov/codecov-action@v3` -> `uses: codecov/codecov-action@v4`).
1 parent 9471ab5 commit 433e641

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/unit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
coverage-data-path: ${{ env.COVERAGE_DATA_PATH }}
3737

3838
- name: Upload coverage report to Codecov
39-
uses: codecov/codecov-action@v1
39+
uses: codecov/codecov-action@v3
4040
with:
4141
file: "${{ env.COVERAGE_DATA_PATH }}"
4242
fail_ci_if_error: true

0 commit comments

Comments
 (0)