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 9 updates:
2
4
3
4
4
5
3
4
2.3.1
2.4.0
1
3
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
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)9839dc1
Add dependabot config (#1688)9b4c13b
Bump word-wrap from 1.2.3 to 1.2.5 (#1643)1d96c77
Add SSH user parameter (#1685)cd7d8d6
Check git version before attempting to disablesparse-checkout
(#1656)8410ad0
Updateactions/checkout
version inupdate-main-version.yml
(#1650)9bb5618
Prep for release of v4.1.2 (#1649)8eb1f6a
Bump@babel/traverse
from 7.20.5 to 7.24.0 (#1642)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
5ecb98a
chore(release): 4.3.1. (#1405)5a299d1
fix: bypass token checks for forks and OIDC (#1404)dad251d
docs: main branch (#1396)e8bbe5f
docs: Type Annotations (#1397)a6fd87f
build(deps-dev): bump@typescript-eslint/parser
from 7.7.1 to 7.8.0 (#1401)76c8cd6
build(deps-dev): bump@typescript-eslint/eslint-plugin
from 7.7.1 to 7.8.0 (#...1290bdd
style: Node Packages (#1394)951ef79
build(deps): bump github/codeql-action from 3.25.1 to 3.25.3 (#1391)bb71c1b
build(deps): bump actions/checkout from 4.1.3 to 4.1.4 (#1392)acc5d43
build(deps): bump actions/upload-artifact from 4.3.2 to 4.3.3 (#1393)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.
... (truncated)
Commits
3f0f870
v6.0.080296b4
Update Node.js to 20 (#1379)Updates
arduino/setup-task
from 1.0.3 to 2.0.0Release notes
Sourced from arduino/setup-task's releases.