setup-arduino-cli
setup-arduino-cli copied to clipboard
update to node16 (node12 support deprecated)
See https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Every user of this action is now getting warnings (not yet errors). For example:
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: arduino/setup-arduino-cli
I have verified this small change removes this warning when I point to this PR branch. Given the simplicity of the fix, I hope that's sufficient.
- Update
package-lock.json
file to the lockfileVersion 2 data format used by Node.js 16.x- Update the unit test workflow to run the tests using Node.js 16.x (it is currently using 10.x 👴)
I updated the test runner to install Node 16.x instead of Node 10.x. I realize that validation is still necessary, and I am not familiar enough to attempt the lockfile changes. (while I love learning, time is a limiting factor.)
Thank you for self-assigning!
I am getting this warning, too. @per1234 are there any remaining issues? AFAICS the changed requested have now been made. It would be great to make a release with to address the warning.
Is there anything left to do before this can get merged and released? It would be great to get rid of the warnings...
What is the status on this. I am a beginner at Github Actions so it may be my fault, but the action is now broken? Do I have to used a differenct verison of the action?
@ChanceCuddeback This action is still working for me here, though there are warnings that the action will stop working soon, so I hope it is fixed soon. Thank you Arduino Team for all your work.
Closing as superseded by https://github.com/arduino/setup-arduino-cli/pull/54