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 ofSonarSource/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 toInstall Build Wrapper
- replace the step calling
sonar-scanner
with a step usingSonarSource/sonarqube-scan-action
- the arguments passed to
sonar-scanner
should be passed to the action via theargs
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 usingSonarSource/sonarqube-scan-action
- the arguments passed to
sonar-scanner
should be passed to the action via theargs
input parameter
Check the C++ section in the README of the sonarqube-scan-action
for complete examples.
What's Changed
- Fix build-wrapper download URL by @7PH in #18
- BUILD-6088 Create SECURITY.md by @SamirM-BE in #16
- SQCPPGHA-8 Upgrade all recommended GitHub Action versions by @7PH in #17
- SQCPPGHA-12 Add Jira integration by @pavel-mikula-sonarsource in #19
- SQCPPGHA-9 Rebrand and forward to sonarqube-scan-action/deprecated-c-cpp-action by @antonioaversa in #21
- SQCPPGHA-14 Deprecate in favor of sonarqube-scan-action by @antonioaversa in #23
New Contributors
- @7PH made their first contribution in #18
- @SamirM-BE made their first contribution in #16
- @pavel-mikula-sonarsource made their first contribution in #19
- @antonioaversa made their first contribution in #21
Full Changelog: v2.0.0...v2.1.0