Skip to content

Releases: SonarSource/sonarqube-scan-action

v4.2.2

25 Sep 13:30

Choose a tag to compare

v5.3.2

25 Sep 13:20

Choose a tag to compare

v6.0.0

18 Sep 08:56

Choose a tag to compare

BREAKING CHANGE!

In order to prevent command-line injection, the actions has been rewritten from Bash to JS, and the args input is now parsed differently. When updating to v6, you might have to update your workflow to change how arguments are quoted.
For example, if you were previously passing:

- uses: SonarSource/sonarqube-scan-action@<action version>
  with:
    args: >
      -Dsonar.projectName="My Project"

you should now pass:

- uses: SonarSource/sonarqube-scan-action@<action version>
  with:
    args: >
      "-Dsonar.projectName=My Project"

For more args passing examples, please refer to the README file

What's Changed

Full Changelog: v5.3.1...v6.0.0

v5.3.1

29 Aug 15:16
1a6d90e

Choose a tag to compare

OVERLOOKED BREAKING CHANGE!

In order to prevent command-line injection, the way to parse the args input has been changed, but this is possibly a breaking change regarding support of quotes.

For example, if you were previously passing:

- uses: SonarSource/sonarqube-scan-action@<action version>
  with:
    args: >
      -Dsonar.projectName="My Project"

you should now pass:

- uses: SonarSource/sonarqube-scan-action@<action version>
  with:
    args: >
      "-Dsonar.projectName=My Project"

Edit: We have now released v6 that more accurately reflect this breaking change.

What's Changed

New Contributors

Full Changelog: v5...v5.3.1

v5.3.0

22 Jul 09:05
8c71dc0

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v5.2.0...v5.3.0

v5.2.0

06 May 09:15
2500896

Choose a tag to compare

What's Changed

Full Changelog: v5...v5.2.0

v5.1.0

24 Mar 14:23

Choose a tag to compare

What's Changed

  • Update SonarScanner CLI to 7.1.0.4889 to support sonar.region=us by @github-actions in #183

Full Changelog: v5.0.0...v5.1.0

v5.0.0

17 Feb 10:13

Choose a tag to compare

What's Changed

Full Changelog: v4...v5.0.0

v4.2.1

17 Dec 10:02
bfd4e55

Choose a tag to compare

What's Changed

Full Changelog: v4.2.0...v4.2.1

v4.2.0

17 Dec 08:48
26c5182

Choose a tag to compare

We are happy to announce this new version of the GitHub action, which brings support for C, C++, and Objective-C projects.

The action supports both AutoConfig scenarios, as well as scenarios where Build Wrapper is required, and is a complete replacement of sonarqube-github-c-cpp and sonarcloud-github-c-cpp.

To install Build Wrapper, a new sonarqube-scan-action/install-build-wrapper sub-action is provided.

Check the README for examples of configuration.

On top of C, C++, and Objective-C support, we have also improved our support of self-hosted GitHub runners:

  • we don't expect anymore the temporary runner folder (RUNNER_TEMP) to be cleaned after every job execution: if present, the action will clean it, before running
  • similarly, we don't expect anymore the Sonar SSL folder (~/sonar/ssl) to be cleaned after every job execution: if present, the action will clean it, before running

What's Changed

New Contributors

Full Changelog: v4.1.0...v4.2.0