Skip to content

Sonar Source Analysis failing #455

@imorlxs

Description

@imorlxs

The Sonar Source Analysis is failing, because the repo that it uses is deprecated and archived

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions