From eb211723266fe8e83102bac7361f0a05c3ac1d1b Mon Sep 17 00:00:00 2001 From: Istvan Bodo <127833893+istvan-bodo-sonarsource@users.noreply.github.com> Date: Tue, 20 Aug 2024 10:54:41 +0200 Subject: [PATCH] SCSCANGHA-23 Update scanner cli to v11.0 (#90) --- .github/workflows/qa.yml | 14 +++++++------- Dockerfile | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index f3af6f1..92c0135 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -19,7 +19,7 @@ jobs: - name: Run action with args uses: ./ with: - args: -Dsonar.someArg=aValue -Dsonar.scanner.dumpToFile=./output.properties + args: -Dsonar.someArg=aValue -Dsonar.scanner.internal.dumpToFile=./output.properties env: SONAR_TOKEN: FAKE_TOKEN - name: Assert @@ -38,7 +38,7 @@ jobs: - name: Run action with projectBaseDir uses: ./ with: - args: -Dsonar.scanner.dumpToFile=./output.properties + args: -Dsonar.scanner.internal.dumpToFile=./output.properties projectBaseDir: ./baseDir env: SONAR_TOKEN: FAKE_TOKEN @@ -56,7 +56,7 @@ jobs: - name: Run action without SONAR_TOKEN uses: ./ with: - args: -Dsonar.scanner.dumpToFile=./output.properties + args: -Dsonar.scanner.internal.dumpToFile=./output.properties continue-on-error: true - name: Previous should have failed if: ${{ steps.runTest.outcome == 'success'}} @@ -79,7 +79,7 @@ jobs: SONAR_TOKEN: FAKE_TOKEN with: projectBaseDir: ./test/gradle-project - args: -Dsonar.scanner.dumpToFile=./output.properties + args: -Dsonar.scanner.internal.dumpToFile=./output.properties - name: Assert run: | ./test/assertFileExists ./output.properties @@ -99,7 +99,7 @@ jobs: SONAR_TOKEN: FAKE_TOKEN with: projectBaseDir: ./test/gradle-project-kotlin - args: -Dsonar.scanner.dumpToFile=./output.properties + args: -Dsonar.scanner.internal.dumpToFile=./output.properties - name: Assert run: | ./test/assertFileExists ./output.properties @@ -119,7 +119,7 @@ jobs: SONAR_TOKEN: FAKE_TOKEN with: projectBaseDir: ./test/maven-project - args: -Dsonar.scanner.dumpToFile=./output.properties + args: -Dsonar.scanner.internal.dumpToFile=./output.properties - name: Assert run: | ./test/assertFileExists ./output.properties @@ -134,7 +134,7 @@ jobs: - name: Run action with debug mode uses: ./ with: - args: -Dsonar.scanner.dumpToFile=./output.properties + args: -Dsonar.scanner.internal.dumpToFile=./output.properties env: RUNNER_DEBUG: 1 SONAR_TOKEN: FAKE_TOKEN diff --git a/Dockerfile b/Dockerfile index 3e7aee8..05ec9e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ -FROM sonarsource/sonar-scanner-cli:10.0 +FROM sonarsource/sonar-scanner-cli:11.0 -LABEL version="2.2.0" \ +LABEL version="3.0.0" \ repository="https://github.com/sonarsource/sonarcloud-github-action" \ homepage="https://github.com/sonarsource/sonarcloud-github-action" \ maintainer="SonarSource" \