Update sonar-scanner-version of github action sonarcloud-github-c-cpp

Hi maintainers,

I’m reaching out because I noticed the Sonar scanner version used in the sonarcloud-github-c-cpp GitHub action hasn’t been updated since June: sonarcloud-github-c-cpp/sonar-scanner-version at v3.1.0 · SonarSource/sonarcloud-github-c-cpp · GitHub

The current latest available version is 6.2.1.4610: SonarScanner CLI

Seems the automatic update has been disabled in June: sonar-scanner version check · Workflow runs · SonarSource/sonarcloud-github-c-cpp · GitHub

Would it be possible for someone from the team to investigate and consider updating the scanner version? This would ensure users benefit from the latest features and bug fixes.

Thank you for your time and consideration.

Hello @to-s!

Thank you for your feedback. The repository SonarSource/sonarcloud-github-c-cpp will soon be deprecated in favor of the sonarqube-scan-action, which has added support for installing the build wrapper and analyzing C/C++ code starting from version v4.2.0.

As a result, I don’t anticipate any further updates to the scanner version used in sonarcloud-github-c-cpp.

On the other hand, the sonarqube-scan-action allows you to specify a scanner version, ensuring that you won’t have to wait for us to make updates if you need