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 a workflow with dependency on the arduino/arduino-lint-action action uses only GitHub-hosted GitHub Actions runners, no changes are required.
If the workflow uses a self-hosted runner, the workflow run might fail after updating arduino/arduino-lint-action:
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/arduino-lint-action/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 action's Node.js runtime to 20.x (#350, #415)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps arduino/arduino-lint-action from 1 to 2.
Release notes
Sourced from arduino/arduino-lint-action's releases.
... (truncated)
Commits
4de5fc8
Merge pull request #420 from per1234/check-dependencies025e2b9
Manually define dependency license type metadata that was not detected9df2cf1
Make initial commit of dependency license metadataee49ac2
Add infrastructure to check for unapproved npm dependency licenses1b78422
Merge pull request #419 from per1234/apached48996e
Add CI workflow to check the license file509068e
Change project license to Apache 2.0a6431aa
Use appropriate filename for license filecd9070f
Merge pull request #418 from arduino/dependabot/npm_and_yarn/types/node-20.16.115353765
Bump@types/node
from 20.16.10 to 20.16.11Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show