Scony / godot-gdscript-toolkit

Independent set of GDScript tools - parser, linter, formatter, and more
MIT License
944 stars 65 forks source link

Update GitHub actions to latest due to Node 16 deprecation. #288

Closed chrisl8 closed 5 months ago

chrisl8 commented 6 months ago

Older version of both the checkout and setup-python action use Node version 16, which is EOL.

setup-python version 5 is the first version to use Node 20 instead of 16.
https://github.com/actions/setup-python/releases/tag/v5.0.0

checkout version 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.

Scony commented 5 months ago

Thanks