diff --git a/README.md b/README.md index 7a40440..07af29f 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ > [!WARNING] > This action is deprecated and will be removed in a future release. > Please use the `sonarqube-scan-action` action instead. -> The `sonarqube-scan-action` is a drop-in replacement for this action. +> The `sonarqube-scan-action` is a drop-in replacement for this action, you can find it [here](https://github.com/marketplace/actions/official-sonarqube-scan). This SonarSource project, available as a GitHub Action, scans your projects with SonarQube [Cloud](https://www.sonarsource.com/products/sonarcloud/). diff --git a/action.yml b/action.yml index 4ea3284..eefd987 100644 --- a/action.yml +++ b/action.yml @@ -15,7 +15,8 @@ inputs: scannerVersion: description: Version of the Sonar Scanner CLI to use required: false - default: 6.2.1.4610 + # to be kept in sync with the default version in the sonarqube-scan-action + default: 7.0.2.4839 scannerBinariesUrl: description: URL to download the Sonar Scanner CLI binaries from required: false @@ -28,7 +29,7 @@ runs: run: | echo "::warning title=SonarScanner::This action is deprecated and will be removed in a future release. Please use the sonarqube-scan-action action instead. The sonarqube-scan-action is a drop-in replacement for this action." - name: SonarQube Cloud Scan - uses: SonarSource/sonarqube-scan-action@v4.1.0 + uses: SonarSource/sonarqube-scan-action@v5.0.0 with: args: ${{ inputs.args }} projectBaseDir: ${{ inputs.projectBaseDir }}