Skip to content
Compare
Choose a tag to compare
@antonioaversa antonioaversa released this 20 Jan 09:57
e51317d

Warning

This new version of the GitHub action for C, C++, and Objective-C with SonarQube Server (sonarqube-github-c-cpp) is going to be the last one specifically designed for these languages.

This action is deprecated and will be removed in a future release.

Please use the sonarqube-scan-action and its install-build-wrapper sub-action instead.

More specifically, if the action is used to install both the SonarScanner CLI and the Build Wrapper:

  • replace sonarqube-github-c-cpp with the latest version of SonarSource/sonarqube-scan-action/install-build-wrapper
  • if the step calling the action is named Install sonar-scanner and build-wrapper, or something similar, rename it to Install Build Wrapper
  • replace the step calling sonar-scanner with a step using SonarSource/sonarqube-scan-action
  • the arguments passed to sonar-scanner should be passed to the action via the args input parameter

If the action is used to install the SonarScanner CLI, and the Build Wrapper is not required:

  • remove the sonarqube-github-c-cpp step altogether
  • replace the step calling sonar-scanner with a step using SonarSource/sonarqube-scan-action
  • the arguments passed to sonar-scanner should be passed to the action via the args input parameter

Check the C++ section in the README of the sonarqube-scan-action for complete examples.

What's Changed

New Contributors

Full Changelog: v2.0.0...v2.1.0