Releases: SonarSource/sonarqube-scan-action
v4.2.1
What's Changed
- SQSCANGHA-77 Change title back to SonarQube Scan Action by @antonioaversa in #166
Full Changelog: v4.2.0...v4.2.1
v4.2.0
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
- SQSCANGHA-64 Shorten action description to respect 125 chars limit by @antonioaversa in #157
- SQCPPGHA-9 Extend action to support C, C++, and Objective-C projects by @antonioaversa in #161
- README: required programs for self-hosted and container by @trgalho in #162
- Force unzip without prompt in sonar scanner installation when files already exist by @blgnksy in #163
- SQSCANGHA-75 Support self-hosted runners not clearing temp after run by @antonioaversa in #164
- SQSCANGHA-76 Support self-hosted runners not clearing truststore after run by @antonioaversa in #165
New Contributors
Full Changelog: v4.1.0...v4.2.0
v4.1.0
The new version is now the official entrypoint for both Server and Cloud: a single GitHub action to interact with the SonarQube solution, whether on-premise or in the cloud!
It also brings several other improvements, including:
- the ability to customize the location from where the SonarScanner CLI is downloaded, which can be useful when the runner is self-hosted and has regulated or no access to the Internet
- the ability to use
curl
as a fallbackwhen
wget is not available in the environment of the runner - the requirement of the Java
keytool
to be available has been lifted
What's Changed
- SQSCANGHA-51 Make Scanner CLI binaries URL customizable by @antonioaversa in #148
- SQSCANGHA-55 Support GitHub self-hosted runners without wget by @antonioaversa in #151
- SQSCANGHA-54 Rebranding by @antonioaversa in #152
- SQSCANGHA-56 Support GitHub self-hosted runners without keytool by @antonioaversa in #149
Full Changelog: v4.0.0...v4.1.0
v4.0.0
What's Changed
- SQSCANGHA-46 Replace the Docker action by a composite action by @henryju and @antonioaversa in #145
This new major version removes Docker, moving to a composite action.
This has multiple benefits:
- you can now use our GitHub action with Java and Dart project, which previously didn’t support it due to Docker isolation
- your run won’t fail anymore in peak workload scenarios due to the Docker image hitting the rate limit on DockerHub
- the scan won’t need to run the scan as a root user, as recommended by GitHub for operations happening in a Docker container
- you will be able to run the action as part of your workflow on any Operating System
We expect no issues for the vast majority of users, and we encourage you to move to the new version.
You can read more about this new release here.
Full Changelog: v3.1.0...v4.0.0
v3.1.0
What's Changed
- SQSCANGHA-49 Add warning in v3 about upcoming Docker removal in v4 by @antonioaversa in #147
News: The next major version (v4.0.0
) will be released during the week of 11-15 November.
The new version removes Docker, moving to a composite action.
We expect no issues for the vast majority of users, and we encourage you to move to the new major version.
You can read more about this new release here.
New Contributors
- @antonioaversa made their first contribution in #147
Full Changelog: v3...v3.1.0
v3.0.0
What's Changed
- Prevent globbing and word splitting in
cleanup.sh
by @vil02 in #133 - SQSCANGHA-42 Update Scanner CLI Docker to 11.1 by @henryju in #143
- Base image changed to Amazon Corretto
- Update to SonarScanner CLI 6.2
Full Changelog: v2...v3.0.0
v2.3.0
What's Changed
- SQSCANGHA-40 Revert cleanup.sh to reset file access to the root folder by @henryju in #132
Full Changelog: v2...v2.3.0
v2.2.0
What's Changed
- SQSCANGHA-30 Replace secrets.SONAR_HOST with actual value by @csaba-feher-sonarsource in #127
- SQSCANGHA-37 Update C++/C recommendation adding AutoScan recommendation by @7PH in #129
- SQSCANGHA-38 Revert "SQSCANGHA-28 Support passing args with spaces" by @csaba-feher-sonarsource in #131
New Contributors
- @csaba-feher-sonarsource made their first contribution in #127
- @7PH made their first contribution in #129
Full Changelog: v2...v2.2
What's Changed
- SQSCANGHA-30 Replace secrets.SONAR_HOST with actual value by @csaba-feher-sonarsource in #127
- SQSCANGHA-37 Update C++/C recommendation adding AutoScan recommendation by @7PH in #129
- SQSCANGHA-38 Revert "SQSCANGHA-28 Support passing args with spaces" by @csaba-feher-sonarsource in #131
New Contributors
- @csaba-feher-sonarsource made their first contribution in #127
- @7PH made their first contribution in #129
Full Changelog: v2.1.0...v2.2.0
v2.1.0
What's Changed
- SQSCANGHA-27 Use GHA debug logging with scanner by @istvan-bodo-sonarsource in #120
- SQSCANGHA-21 Update the base image by @henryju in #119
- SQSCANGHA-26 Warning instead of failure for Maven/Gradle projects by @antoine-vinot-sonarsource in #117
- SQSCANGHA-28 Support passing args with spaces by @henryju in #122
- Don't recomend to use master as a version by @henryju in #123
- SQSCANGHA-29 Update .scannerwork cleanup by @istvan-bodo-sonarsource in #124
- SQSCANGHA-31 Stop making SONAR_HOST_URL mandatory by @henryju in #125
Full Changelog: v2...v2.1.0
v2.0.2
What's Changed
- NO-JIRA Bump actions/checkout from 3 to 4 by @dependabot in #83
- Update README.md with Clean Code link by @david-cho-lerat-sonarsource in #86
- docs: use actions/checkout@v4 as an example by @ALX99 in #96
- SQSCANGHA-18 Improve the SonarQube intro in README.md by @claire-villard-sonarsource in #100
- This repository is owned by the Analysis Experience squad by @claire-villard-sonarsource in #101
New Contributors
- @dependabot made their first contribution in #83
- @david-cho-lerat-sonarsource made their first contribution in #86
- @ALX99 made their first contribution in #96
- @claire-villard-sonarsource made their first contribution in #100
Full Changelog: v2.0.1...v2.0.2