mithril
mithril copied to clipboard
Update workflow github actions
Context
Since Node 12 have reached end of life in April 2022, github actions are switching to node16 as the new default. To push project to update github started to output a warning in actions logs for each outdated actions:
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: [...]
You can see them popping in the last merge on main: https://github.com/input-output-hk/mithril/actions/runs/3235984569
Problem
Not all of the third party actions we used has been updated as of the 12th October 2022 (ie: all rust actions are still outdated).
We will have to monitor for their update and ensure that those updates don't come with a breaking change or else do the required adaptations.
Actions to update
- [x] All rust dedicated actions from the action-rs org. ⚠ Those actions have seen no updates since two years and the only maintainers show no sign of activity, we should consider to replace them using only command lines + SARIF upload for clippy check.
- [ ] Legion2/swagger-ui-action@v1: already updated to node-16 but we have yet to see a release with this change, hopefully it will be a minor version if so we have nothing to do but wait.
- [ ] marvinpinto/action-automatic-releases@latest: ⚠ Like the action-rs org the maintainer show no sign of activity.
- [ ] tubone24/[email protected]: This action repository show no sign of activity expect automatic dependencies updates and the last commit by the maintainer is from December 2021 but since he's still active on other repository the update may come sooner or later.