Warning
This new version of the GitHub action for C, C++, and Objective-C with SonarQube Cloud (sonarcloud-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
sonarcloud-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
sonarcloud-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
- SCCPPGHA-9 Upgrade all recommended GitHub Action versions by @7PH in #61
- SCCPPGHA-13 Add Jira integration by @pavel-mikula-sonarsource in #62
- SCCPPGHA-10 Rebrand and forward to the C and C++ action for SQS by @antonioaversa in #64
- SCCPPGHA-16 Deprecate in favor of sonarqube-scan-action by @antonioaversa in #66
- SCCPPGHA-21 Change title back to SonarCloud Scan for C and C++ by @antonioaversa in #65
New Contributors
- @7PH made their first contribution in #61
- @pavel-mikula-sonarsource made their first contribution in #62
- @antonioaversa made their first contribution in #64
Full Changelog: v3.1.0...v3.2.0