mirror of
https://github.com/SonarSource/sonarqube-scan-action.git
synced 2025-12-13 09:51:15 +00:00
SQSCANGHA-42 Update scanner cli to v11.0
This commit is contained in:
parent
8c8682dac7
commit
0c0f3958d9
2 changed files with 8 additions and 8 deletions
12
.github/workflows/qa.yml
vendored
12
.github/workflows/qa.yml
vendored
|
|
@ -19,7 +19,7 @@ jobs:
|
||||||
- name: Run action with args
|
- name: Run action with args
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
args: -Dsonar.someArg=aValue -Dsonar.scanner.dumpToFile=./output.properties
|
args: -Dsonar.someArg=aValue -Dsonar.scanner.internal.dumpToFile=./output.properties
|
||||||
env:
|
env:
|
||||||
SONAR_HOST_URL: http://not_actually_used
|
SONAR_HOST_URL: http://not_actually_used
|
||||||
- name: Assert
|
- name: Assert
|
||||||
|
|
@ -37,7 +37,7 @@ jobs:
|
||||||
- name: Run action with projectBaseDir
|
- name: Run action with projectBaseDir
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
args: -Dsonar.scanner.dumpToFile=./output.properties
|
args: -Dsonar.scanner.internal.dumpToFile=./output.properties
|
||||||
projectBaseDir: ./baseDir
|
projectBaseDir: ./baseDir
|
||||||
env:
|
env:
|
||||||
SONAR_HOST_URL: http://not_actually_used
|
SONAR_HOST_URL: http://not_actually_used
|
||||||
|
|
@ -60,7 +60,7 @@ jobs:
|
||||||
SONAR_HOST_URL: http://not_actually_used
|
SONAR_HOST_URL: http://not_actually_used
|
||||||
with:
|
with:
|
||||||
projectBaseDir: ./test/gradle-project
|
projectBaseDir: ./test/gradle-project
|
||||||
args: -Dsonar.scanner.dumpToFile=./output.properties
|
args: -Dsonar.scanner.internal.dumpToFile=./output.properties
|
||||||
- name: Assert
|
- name: Assert
|
||||||
run: |
|
run: |
|
||||||
./test/assertFileExists ./output.properties
|
./test/assertFileExists ./output.properties
|
||||||
|
|
@ -80,7 +80,7 @@ jobs:
|
||||||
SONAR_HOST_URL: http://not_actually_used
|
SONAR_HOST_URL: http://not_actually_used
|
||||||
with:
|
with:
|
||||||
projectBaseDir: ./test/gradle-project
|
projectBaseDir: ./test/gradle-project
|
||||||
args: -Dsonar.scanner.dumpToFile=./output.properties
|
args: -Dsonar.scanner.internal.dumpToFile=./output.properties
|
||||||
- name: Assert
|
- name: Assert
|
||||||
run: |
|
run: |
|
||||||
./test/assertFileExists ./output.properties
|
./test/assertFileExists ./output.properties
|
||||||
|
|
@ -100,7 +100,7 @@ jobs:
|
||||||
SONAR_HOST_URL: http://not_actually_used
|
SONAR_HOST_URL: http://not_actually_used
|
||||||
with:
|
with:
|
||||||
projectBaseDir: ./test/maven-project
|
projectBaseDir: ./test/maven-project
|
||||||
args: -Dsonar.scanner.dumpToFile=./output.properties
|
args: -Dsonar.scanner.internal.dumpToFile=./output.properties
|
||||||
- name: Assert
|
- name: Assert
|
||||||
run: |
|
run: |
|
||||||
./test/assertFileExists ./output.properties
|
./test/assertFileExists ./output.properties
|
||||||
|
|
@ -146,7 +146,7 @@ jobs:
|
||||||
- name: Run action with debug mode
|
- name: Run action with debug mode
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
args: -Dsonar.scanner.dumpToFile=./output.properties
|
args: -Dsonar.scanner.internal.dumpToFile=./output.properties
|
||||||
env:
|
env:
|
||||||
RUNNER_DEBUG: 1
|
RUNNER_DEBUG: 1
|
||||||
SONAR_HOST_URL: http://not_actually_used
|
SONAR_HOST_URL: http://not_actually_used
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
FROM sonarsource/sonar-scanner-cli:10.0
|
FROM sonarsource/sonar-scanner-cli:11.0
|
||||||
|
|
||||||
LABEL version="2.1.0" \
|
LABEL version="3.0.0" \
|
||||||
repository="https://github.com/sonarsource/sonarqube-scan-action" \
|
repository="https://github.com/sonarsource/sonarqube-scan-action" \
|
||||||
homepage="https://github.com/sonarsource/sonarqube-scan-action" \
|
homepage="https://github.com/sonarsource/sonarqube-scan-action" \
|
||||||
maintainer="SonarSource" \
|
maintainer="SonarSource" \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue