dhollerbach / actions.serverless-with-python-requirements

Installs Serverless and runs a deploy using the serverless-python-requirements plugin
23 stars 32 forks source link

Update Required for Node.js Version Compatibility #22

Open abshirahmed opened 8 months ago

abshirahmed commented 8 months ago

Description

When deploying using the GitHub Actions workflow provided by dhollerbach/actions.serverless-with-python-requirements@v2, I received a deprecation warning concerning the Node.js version used by the actions. The warning message indicates that Node.js 16 actions are deprecated and recommends updating to Node.js 20 to ensure compatibility and future support.

The specific warning message received is as follows:

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4, dhollerbach/actions.serverless-with-python-requirements@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Suggested Changes

To address this deprecation and avoid potential disruptions in the future, I suggest the following updates be made to the repository:

  1. Update the actions/setup-python@v4 action to a version that supports Node.js 20.
  2. Update the dhollerbach/actions.serverless-with-python-requirements@v2 action to ensure it is compatible with Node.js 20, or provide guidance on how to modify workflows to comply with the new requirements.

Additional Context

The deprecation of Node.js 16 actions and the transition to Node.js 20 is part of GitHub Actions' ongoing efforts to maintain a secure and efficient CI/CD environment. More details about this transition can be found on the GitHub Blog announcement.

It is crucial for the sustainability and reliability of workflows that depend on these actions to make the necessary updates. I hope these changes can be implemented promptly to ensure uninterrupted service for all users of this action.

Thank you for your attention to this matter and your ongoing support.

alex33nc commented 5 months ago

I am having the same issue. Has support been updated yet? Thank you.