v4 of the Codecov Action uses the CLI as the underlying upload. The CLI has helped to power new features including local upload, the global upload token, and new upcoming features.
Breaking Changes
The Codecov Action runs as a node20 action due to node16 deprecation. See this post from GitHub on how to migrate.
Tokenless uploading is unsupported. However, PRs made from forks to the upstream public repos will support tokenless (e.g. contributors to OS projects do not need the upstream repo's Codecov token). This doc shows instructions on how to add the Codecov token.
OS platforms have been added, though some may not be automatically detected. To see a list of platforms, see our CLI download page
Various arguments to the Action have been changed. Please be aware that the arguments match with the CLI's needs
v3 versions and below will not have access to CLI features (e.g. global upload token, ATS).
v4 represents a move from the universal uploader to the Codecov CLI. Although this will unlock new features for our users, the CLI is not yet at feature parity with the universal uploader.
Breaking Changes
No current support for aarch64 and alpine architectures.
Bumps the github-actions group with 10 updates in the / directory:
2
4
3
4
4
5
3
4
2.3.1
2.4.0
1
3
5
6
5
6
1.0.3
2.0.0
3.3.3
4.0.2
Updates
actions/checkout
from 2 to 4Release notes
Sourced from actions/checkout's releases.
... (truncated)
Changelog
Sourced from actions/checkout's changelog.
... (truncated)
Commits
a5ac7e5
Update for 4.1.6 release (#1733)24ed1a3
Check platform for extension (#1732)44c2b7a
README: Suggestuser.email
to be `41898282+github-actions[bot]@users
.norepl...8459bc0
Bump actions/upload-artifact from 2 to 4 (#1695)3f603f6
Bump actions/setup-node from 1 to 4 (#1696)fd084cd
Bump github/codeql-action from 2 to 3 (#1694)9c1e94e
Update NPM dependencies (#1703)0ad4b8f
Prep Release v4.1.4 (#1704)43045ae
Disableextensions.worktreeConfig
when disablingsparse-checkout
(#1692)37b0821
Bump the minor-actions-dependencies group with 2 updates (#1693)Updates
peter-evans/create-or-update-comment
from 3 to 4Release notes
Sourced from peter-evans/create-or-update-comment's releases.
... (truncated)
Commits
71345be
feat: update runtime to node 20 (#306)d41bfe3
build(deps-dev): bump prettier from 3.2.3 to 3.2.4 (#305)73b4b9e
build(deps-dev): bump@types/node
from 18.19.7 to 18.19.8 (#304)b865fac
build(deps-dev): bump@types/node
from 18.19.6 to 18.19.7 (#303)52b668a
build(deps-dev): bump eslint-plugin-jest from 27.6.1 to 27.6.3 (#302)974f56a
build(deps-dev): bump prettier from 3.1.1 to 3.2.3 (#301)2cbfe8b
build(deps-dev): bump@types/node
from 18.19.4 to 18.19.6 (#300)761872a
build(deps-dev): bump eslint-plugin-prettier from 5.1.2 to 5.1.3 (#299)72c3238
build(deps-dev): bump@types/node
from 18.19.3 to 18.19.4 (#298)07daf7b
build(deps-dev): bump eslint-plugin-jest from 27.6.0 to 27.6.1 (#297)Updates
magnetikonline/action-golang-cache
from 4 to 5Release notes
Sourced from magnetikonline/action-golang-cache's releases.
Commits
fcca93e
Bumpactions/setup-go@v5
/actions/cache@v4
ec2faaf
Useformat()
workflow expression to append optionalinputs.cache-key-suffix
1bec231
Set explicit emptydefault:
forgo-version
andgo-version-file
inputsd3e977b
Improveaction.yaml
description47ba946
UpdateREADME.md
Updates
codecov/codecov-action
from 3 to 4Release notes
Sourced from codecov/codecov-action's releases.
... (truncated)
Changelog
Sourced from codecov/codecov-action's changelog.
... (truncated)
Commits
125fc84
chore(release): 4.4.1 (#1441)c9dbf6a
fix: isPullRequestFromFork returns false for any PR (#1437)59fc46f
build(deps): bump actions/checkout from 4.1.5 to 4.1.6 (#1438)3889fdd
build(deps): bump github/codeql-action from 3.25.4 to 3.25.5 (#1439)d42a336
fix: prevent xlarge from running on forks (#1432)fd624e5
build(deps-dev): bump@typescript-eslint/eslint-plugin
from 7.8.0 to 7.9.0 (#...6d79887
chore(release): 4.4.0 (#1430)37364fa
build(deps-dev): bump@typescript-eslint/parser
from 7.8.0 to 7.9.0 (#1428)2791a5c
fix: remove GPG and run on spawn (#1426)b71af43
build(deps): bump ossf/scorecard-action from 2.3.1 to 2.3.3 (#1420)Updates
contributor-assistant/github-action
from 2.3.1 to 2.4.0Release notes
Sourced from contributor-assistant/github-action's releases.
Commits
9340315
docs(contributor): contrib-readme-action has updated readme9dfcfbe
Merge pull request #140 from Holzhaus/botname-subscript9c07d10
docs(contributor): contrib-readme-action has updated readme902b70e
Merge pull request #144 from pellared/patch-1dbc1c64
docs(contributor): contrib-readme-action has updated readme87da410
Merge pull request #147 from tada5hi/pr-sign-commitf4faf18
fix: create empty commit for custom pr sign comment as well1d79b45
Update README.md545ab66
Update required GITHUB_TOKEN permissions1e0e0b9
feat(index): Move CLA/DCO bot name into subscript at end of commentUpdates
docker/setup-buildx-action
from 1 to 3Release notes
Sourced from docker/setup-buildx-action's releases.
... (truncated)
Commits
d70bba7
Merge pull request #307 from crazy-max/bump-toolkit7638634
chore: update generated contentc68420f
bump@docker/actions-toolkit
from 0.19.0 to 0.20.02b51285
Merge pull request #306 from docker/dependabot/npm_and_yarn/docker/actions-to...0f00370
chore: update generated content11c9683
build(deps): bump@docker/actions-toolkit
from 0.18.0 to 0.19.056a16b8
Merge pull request #303 from crazy-max/fix-inputsc23f46e
chore: update generated contentf876da6
rename and align config inputsb7cf918
Merge pull request #304 from crazy-max/rm-docs-dirUpdates
release-drafter/release-drafter
from 5 to 6Release notes
Sourced from release-drafter/release-drafter's releases.
The following labels could not be found:
dependencies
.Looks like these dependencies are updatable in another way, so this is no longer needed.