Update GitHub actions to latest due to Node 16 deprecation. #288
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
Older version of both the
checkoutandsetup-pythonaction use Node version 16, which is EOL.setup-pythonversion 5 is the first version to use Node 20 instead of 16.https://github.com/actions/setup-python/releases/tag/v5.0.0
checkoutversion 4 is the first version to use Node 20 instead of 16.https://github.com/actions/checkout/releases/tag/v4.0.0
GitHub is going to deprecate usage of Node 16 in October.
See: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/
You can see GitHub's alert about this if you view the Actions on any recent commit:
https://github.com/Scony/godot-gdscript-toolkit/actions/runs/8214352229
This is admittedly a very trivial PR. I'm doing it because I am "in the area" and noticed and am also updating my personal repositories. I will not be offended if you just reject this and do your own thing here.