actions / setup-dotnet

Set up your GitHub Actions workflow with a specific version of the .NET core sdk
MIT License
942 stars 458 forks source link

Update action to node20 #482

Closed takost closed 10 months ago

takost commented 10 months ago

Description: Node 16 has reached end-of-life on 11 Sep 202. This PR updates the default runtime to node20, rather then node16.

This is supported on all Actions Runners v2.308.0 or later.

Related issue: Add link to the related issue.

Check list:

dlemstra commented 10 months ago

You might also want to update node_modules/@types/node and maybe also some of the other packages? That can fix this critical in one of the dependencies:

@babel/traverse <7.23.2 Severity: critical Babel vulnerable to arbitrary code execution when compiling specifically crafted malicious code - https://github.com/advisories/GHSA-67hx-6x53-jw92 fix available via npm audit fix node_modules/@babel/traverse

takost commented 10 months ago

@dlemstra Thanks for your comment, I'll try to update packages. But could you please help me with the failing test? Looks like test from the externals is out-dated, and I'm not familiar with the process of update of this script.

dlemstra commented 10 months ago

It looks like someone else created a PR that addresses this issue here: #484?

takost commented 10 months ago

@dlemstra I will close my PR in favour of https://github.com/actions/setup-dotnet/pull/484