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.
The version of the Node.js runtime used to execute the action has been updated from 16 to 20. This could be a breaking change for certain GitHub Actions workflows.
If the workflow uses a self-hosted runner, the workflow run might fail after updating arduino/setup-task:
Error: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter ''using: node20' is not supported, use 'docker', 'node12' or 'node16' instead.')
at GitHub.Runner.Worker.ActionManifestManager.ConvertRuns(IExecutionContext executionContext, TemplateContext templateContext, TemplateToken inputsToken, String fileRelativePath, MappingToken outputs)
at GitHub.Runner.Worker.ActionManifestManager.Load(IExecutionContext executionContext, String manifestFile)
Error: Fail to load arduino/setup-task/v2/action.yml
This means an older runner version that does not provide Node.js 20.x is installed on the runner machine and you must update the runner version.
Changelog
Breaking
Update Node.js runtime for action from 16 to 20 (#919)
Bumps the github-actions group with 8 updates:
2
4
3
4
4
5
3
4
1
3
5
6
1.0.3
2.0.0
3.3.3
4.0.1
Updates
actions/checkout
from 2 to 4Release notes
Sourced from actions/checkout's releases.
... (truncated)
Changelog
Sourced from actions/checkout's changelog.
... (truncated)
Commits
b4ffde6
Link to release page from what's new section (#1514)8530928
Correct link to GitHub Docs (#1511)7cdaf2f
Update CODEOWNERS to Launch team (#1510)8ade135
Prepare 4.1.0 release (#1496)c533a0a
Add support for partial checkout filters (#1396)72f2cec
Update README.md for V4 (#1452)3df4ab1
Release 4.0.0 (#1447)8b5e8b7
Support fetching without the --progress option (#1067)97a652b
Update default runtime to node20 (#1436)f43a0e5
Release 3.6.0 (#1437)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
54bcd87
chore(release): v4.1.0 (#1307)8ba77ef
build(deps-dev): bump eslint from 8.56.0 to 8.57.0 (#1305)c60aa80
build(deps): bump github/codeql-action from 3.24.3 to 3.24.5 (#1306)2fc4847
fix: set safe directory (#1304)0cfda1d
chore(release): bump to 4.0.2 (#1302)7d3a55e
build(deps): bump actions/upload-artifact from 4.3.0 to 4.3.1 (#1286)fe84a0b
build(deps-dev): bump@typescript-eslint/eslint-plugin
from 6.21.0 to 7.0.0 (...e12c940
Use updated syntax for GitHub Markdown notes (#1300)ef7f8a5
build(deps): bump github/codeql-action from 3.24.0 to 3.24.3 (#1298)b8a1d6a
build(deps-dev): bump@typescript-eslint/eslint-plugin
from 6.20.0 to 6.21.0 ...Updates
docker/setup-buildx-action
from 1 to 3Release notes
Sourced from docker/setup-buildx-action's releases.
... (truncated)
Commits
0d103c3
Merge pull request #300 from crazy-max/cache-binaryf19477a
chore: update generated contenta4180f8
cache-binary input to enable/disable caching binary to GHA cache backend5243153
Merge pull request #299 from docker/dependabot/npm_and_yarn/docker/actions-to...3679a54
chore: update generated content37a22a2
build(deps): bump@docker/actions-toolkit
from 0.14.0 to 0.17.065afe61
Merge pull request #297 from docker/dependabot/npm_and_yarn/undici-5.28.3fcb8f72
chore: update generated contentf62b9a1
Merge pull request #298 from crazy-max/bump-gha74c5b71
bump codecov/codecov-action from 3 to 4Updates
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.
Commits
b91d5d2
update readme (#929)f2514b0
Bump node from 16 to 20 (#919)2007903
Merge pull request #928 from arduino/dependabot/npm_and_yarn/prettier-3.2.53f2ef95
build(deps-dev): bump prettier from 3.2.2 to 3.2.588d658b
Merge pull request #927 from arduino/dependabot/npm_and_yarn/types/node-16.18.79b79a1c3
build(deps-dev): bump@types/node
from 16.18.78 to 16.18.795abddba
Merge pull request #926 from arduino/dependabot/npm_and_yarn/types/node-16.18.78b3e99c0
build(deps-dev): bump@types/node
from 16.18.76 to 16.18.784145542
Merge pull request #924 from arduino/dependabot/npm_and_yarn/typescript-eslin...10406e6
build(deps-dev): bump@typescript-eslint/parser
from 6.19.1 to 6.20.0Updates
actions/cache
from 3.3.3 to 4.0.1Release notes
Sourced from actions/cache'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.