Skip to content
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

Getting node 12 deprecation error from github workflows runner #66

Closed
wickkidd opened this issue Oct 11, 2022 · 16 comments
Closed

Getting node 12 deprecation error from github workflows runner #66

wickkidd opened this issue Oct 11, 2022 · 16 comments

Comments

@wickkidd
Copy link

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: gradle/wrapper-validation-action

I am using v1 - uses: gradle/wrapper-validation-action@v1 and that tag seems to include the bump to node 16 from last year.

@snovikov
Copy link

@wickkidd no, v1 does not include it - there is a later commit. 094d835
I think, we just need a release with latest changes.

@wickkidd
Copy link
Author

Ah ok. Looks like we have until summer '23 before they pull the plug on node 12.

https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/

Should I make a request for this or is it already planned to happen by then?

@qhy040404
Copy link

We have the upgrade commit, but we don't have the release.
We can use gradle/wrapper-validation-action@master at the moment.

@NotMyFault
Copy link

Hey @JLLeitschuh,

we'd really appreciate it, if you could cut a release please 🙏🏻

Thanks!

@JLLeitschuh
Copy link
Contributor

Unfortunately, I no longer work for Gradle, so I don't have the ability to do so.

CC: @big-guy, @eskatos , @pioterj

@TWiStErRob
Copy link
Contributor

PR cross ref: #53

@big-guy, @eskatos, @pioterj once you release this, please also give some love to gradle/gradle-build-action#461.

Feels like GitHub deprecated the whole world :)

@TWiStErRob
Copy link
Contributor

@bigdaz could you please release this one too?

@sciencewhiz
Copy link

I believe actions/core will need to be updated too

@TWiStErRob
Copy link
Contributor

@sciencewhiz what's the need for that? There's no warnings about set-output/set-state here.
Here's an example of a most recent execution:
https://github.com/detekt/detekt/actions/runs/3306311082

@bigdaz
Copy link
Member

bigdaz commented Oct 24, 2022

I've updated a couple of dependencies (that had security vulnerabilities), and released the latest code as v1.0.5. I have not yet updated the v1 tag to point to the new release, because I'm a little concerned that I may have broken things.

Can a few folks watching this issue please test with gradle/wrapper-validation-action@v1.0.5 and report back if it's working (or not)? Once confirmed, I'll complete the release process by force-pushing the v1 tag.

@NotMyFault
Copy link

Can a few folks watching this issue please test with gradle/wrapper-validation-action@v1.0.5 and report back if it's working (or not)? Once confirmed, I'll complete the release process by force-pushing the v1 tag.

Hey,

thanks for the update. I can assure, that v1.0.5 works fine in my environments. This applies to highlighting wrong hashes:
Screenshot 2022-10-24 at 18 46 49
and passing on correct ones:
Screenshot 2022-10-24 at 18 47 12

Thanks 👏🏻

@TWiStErRob
Copy link
Contributor

TWiStErRob commented Oct 24, 2022

I'm very confused about the v1.0.5 tag, it looks like it's a separate branch, whose only difference to master is an added node_modules folder, which is almost never version controlled, it's like pushing ~/.gradle/caches/files-2 to a repo. What happened there?
Edit: I can see the current (2021) v1 tag is the same approach, still confused. 😅

TWiStErRob added a commit to TWiStErRob/detekt that referenced this issue Oct 24, 2022
@TWiStErRob
Copy link
Contributor

@bigdaz
Copy link
Member

bigdaz commented Oct 24, 2022

@TWiStErRob I simply followed the documented release process. I agree that this is odd, and it's not how the gradle/gradle-build-action repository/releases are structured.

But since this is my first ever involvement with this repo, I decided to keep my changes to a minimum.

Thanks for confirming the new version works as expected. I'll force-push v1 to point to v1.0.5 shortly.

@TWiStErRob
Copy link
Contributor

Cheers @bigdaz! Thank you for picking it up here too. 🙏

@eskatos if you remember, I would be curious to know why the release process contains "push node_modules to branch",.

@bigdaz bigdaz closed this as completed Oct 25, 2022
@eskatos
Copy link
Member

eskatos commented Oct 25, 2022

This action doesn't get minified/assembled and runs directly from node_modules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants