-
Notifications
You must be signed in to change notification settings - Fork 223
/
Copy pathaction.yml
36 lines (36 loc) · 1.29 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: SonarQube Cloud Scan
description: >
Scan your code with SonarQube Cloud to detect coding issues in 30+
languages. (Formerly SonarCloud)
branding:
icon: check
color: green
inputs:
args:
description: Additional arguments to the Sonar Scanner CLI
required: false
projectBaseDir:
description: Set the sonar.projectBaseDir analysis property
required: false
scannerVersion:
description: Version of the Sonar Scanner CLI to use
required: false
default: 6.2.1.4610
scannerBinariesUrl:
description: URL to download the Sonar Scanner CLI binaries from
required: false
default: https://binaries.sonarsource.com/Distribution/sonar-scanner-cli
runs:
using: "composite"
steps:
- name: Deprecation warning
shell: bash
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
with:
args: ${{ inputs.args }}
projectBaseDir: ${{ inputs.projectBaseDir }}
scannerVersion: ${{ inputs.scannerVersion }}
scannerBinariesUrl: ${{ inputs.scannerBinariesUrl }}