Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade codecov-action to v4 #179

Merged
merged 1 commit into from
Mar 4, 2024
Merged

Conversation

kdarkhan
Copy link
Collaborator

With the issues codecov/feedback#263 and codecov/codecov-action#1287 resolved, we can upgrade to v4 again.

This fixes #173

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.58%. Comparing base (d25c6ef) to head (2272ea8).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #179   +/-   ##
=======================================
  Coverage   90.58%   90.58%           
=======================================
  Files          12       12           
  Lines        3133     3133           
  Branches     3133     3133           
=======================================
  Hits         2838     2838           
  Misses        211      211           
  Partials       84       84           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -95,7 +95,7 @@ jobs:
path: repo_root

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this maybe be v4.1, if v4.0 has the bug?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

codecov-action maintainers seem to move v4 tag as they release new minor versions. v4 points to v4.1.0 according to this. I think it will be simpler to have it as v4 so we don't need to change when v4.2 is released.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this maybe be v4.1, if v4.0 has the bug?

Good question!

codecov-action maintainers seem to move v4 tag as they release new minor versions. v4 points to v4.1.0 according to this.

Yes, this is the way tags for GitHub actions typically work: people move them around so that you get the latest semver-compatible version when you depend on a given tag. It's a bit silly, but that's the way things work last time I checked.

The GitHub documentation still recommends this: Using tags for release management.

Copy link
Collaborator

@mgeisler mgeisler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for tracking this!

@kdarkhan kdarkhan merged commit e937143 into google:main Mar 4, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

codecov-action upgrade broke coverage reports
4 participants