- ALM used: GitHub
- CI system used: GitHub Actions
- Languages of the repository: C#
- Only if the SonarCloud project is public, the URL: Fix build and test commands · rufer7/github-sonarcloud-integration@82e0ba3 · GitHub
- Error observed: it’s not an error, but a warning (see here)
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