-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update cache action runner #252
Conversation
The `actions/cache` package has released version 4.0 which updates the action runner to use Node 20. Applying this fix gets rid of the following warning which is currently showing in the "Annotations" of workflows using the `ramsey/composer-install` action: ``` Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/. ``` Note: most action runners have published these types of update in a new major, so that seems to be the best practice. Not sure if this update warrants a new major for `ramsey/composer-install` ? Refs: * https://github.com/actions/cache/releases/tag/v4.0.0 * https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/
@ramsey Any chance of movement on this PR ? 🙏🏻 |
@ramsey Thanks for the merge, could you please tag it as well? We like to pin it to a specific version. |
@ramsey Just saw the new tag - but shouldn't this have been a major release as per my comment above ?
|
Since the action is stand-alone, I didn't think it would cause BC issues. How will this affect users with self-hosted runners in a backwards incompatible way? |
@ramsey self-hosted runners have their own self-hosted Node version(s) and the cache action now requiring Node 20 instead of Node 16 can break their build processes. Does that make it clearer ? |
Doh! Yes. That is clear. 🤦♂️ I'll take care of this later today. Sorry. |
@ramsey No worries, I'm not on self-hosted myself ;-) Just thought I'd try and prevent you having to deal with lots of support issues. You may want to pull the 2.3.0 release (or release a 2.3.1 without this particular change) to prevent people on self-hosted running into trouble . |
I'll release a 2.3.1 that removes that change and tag a 3.0.0 release with the change. |
@ramsey Only just realized it's your birthday today... bit embarrassed I didn't start my earlier message with congratulations 🙈 Hope you had a great day and wishing you a lovely new year! |
Thanks! 😊 |
Hope you had a good day sir and thank you for your work! 🎉 |
The `actions/cache` package has released version 4.0 which updates the action runner to use Node 20. Applying this fix gets rid of the following warning which is currently showing in the "Annotations" of workflows using the `ramsey/composer-install` action: ``` Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/. ``` Note: most action runners have published these types of update in a new major, so that seems to be the best practice. Not sure if this update warrants a new major for `ramsey/composer-install` ? Refs: * https://github.com/actions/cache/releases/tag/v4.0.0 * https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/ Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
Due to BC issues, I have reverted the actions/cache upgrade in version 2.3.1 and have released 3.0.0, which includes the actions/cache upgrade. Please update your pinned versions to 3.0.0. See discussion on above, for more info. |
Description
The
actions/cache
package has released version 4.0 which updates the action runner to use Node 20.Applying this fix gets rid of the following warning which is currently showing in the "Annotations" of workflows using the
ramsey/composer-install
action:Note: most action runners have published these types of update in a new major, so that seems to be the best practice. Not sure if this update warrants a new major for
ramsey/composer-install
?Update: From what I've read, I believe this should be released in a new major as otherwise people using this action in self-hosted runners will run into trouble with this change.
Refs:
Motivation and context
People don't like to see warnings in their workflows ;-)
How has this been tested?
Pre-existing automated tests cover this change and the tests pass.
If you look in your own workflows, you can see that without this change, the following annotations (and a dozen more) display:
With this change, the annotations change to:
For this last warning regarding
actions/checkout@v3
, PR #248 is already open, so this is not addressed here.Types of changes
Not sure what to put here, could be seen as just plain maintenance, could also be seen as a breaking change ?
PR checklist
Fixes #253
Closes #254