Bump codecov/codecov-action
workflow dependency to v2
#238
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
codecov/codecov-action
action is used in the unit test runner workflow to upload code coverage data to codecov. The workflow is configured to use the latest release within the specified major version series. It is necessary to manually update the workflow any time a new major version series of an action begins, in which case a review is necessary to determine whether the workflow is affected by the breaking changes that required the major bump.The action is now in its 2.x version series. The cause of the major bump was the removal of some of the action's inputs. I reviewed the changes and found that none of the inputs used in the workflow are affected so it is possible to update without any other changes to the workflow.
This pull request supersedes #230. That was an example of Dependabot attempting to pin the action to a specific minor version rather than our preferred default approach of only pinning the major version ref. The reason is that the specific version tag in the
codecov/codecov-action
repository was created after the major ref tag was moved (Dependabot picks the most recent tag to use as the action ref in its workflow update PRs). Even though it was not possible to use Dependabot's PR in this case, it still served as a helpful notification that a new action version is available.