GitHub Action versions in example GitHub Actions workflow outdated

Build and analyze
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-java@v3, actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

The GitHub actions workflow example for analyzing .NET projects proposed under SonarCloud contains outdated GitHub actions versions. I could not find a feedback form in SonarCloud so I reported this here. Please update the samples to use v4 instead of v3. v4 works properly as shown here: Update actions versions to use Node.js 20 · rufer7/github-sonarcloud-integration@943b6de · GitHub

Thanks @rufer7 ,

Thanks for reporting,

I was able to go find out in the code what needs to be changed, and I’ve created a task in our issue tracking tool so we can implement it during the next hardening sprint we do on SonarCloud. You can follow the task to check its completion,

Cheers
Benjamin

1 Like