nanos / FediFetcher

FediFetcher is a tool for Mastodon that automatically fetches missing replies and posts from other fediverse instances, and adds them to your own Mastodon instance.
https://blog.thms.uk/fedifetcher?utm_source=github
MIT License
293 stars 213 forks source link

Node 16 actions deprecated #92

Closed lnlyssg closed 5 months ago

lnlyssg commented 5 months ago

FYI you will need to update the GitHub workflows to newer actions (where available) as per https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/

I'm seeing the below message on a recent run:

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, dawidd6/action-download-artifact@v2.

I believe all of these actions have newer versions that use Node 20

nanos commented 5 months ago

Thanks @lnlyssg !

Can you check this against branch node-16-depracation?

lnlyssg commented 5 months ago

I will but I have spotted that line 41 of https://github.com/nanos/FediFetcher/blob/node-16-depracation/.github/workflows/get_context.yml still has a reference to actions/checkout@v3. Does build-container.yaml also need some updates? I haven't looked at that one.

nanos commented 5 months ago

Thanks! Fixed line 41.

I will look into build-container as well.

lnlyssg commented 5 months ago

Line 35 also needs an update to change actions/upload-artifact@v3 to v4

nanos commented 5 months ago

done thanks

lnlyssg commented 5 months ago

I've tested and can confirm all is working OK with the updated actions.

nanos commented 5 months ago

Amazing. Thank you!