-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
56 lines (56 loc) · 2.28 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: Parallel Sonarscanner for dotnet
description: Github action that runs dotnet sonar scanner in parallel with the tests jobs
author: Nazmi Altun
branding:
icon: zoom-in
color: blue
inputs:
sonar-token:
description: 'Sonar token that is created by sonarcloud/sonarqube to pass scanning result to the sonarcloud/sonarqube instance'
required: true
coverage-solution-root-path:
description: 'Source file path in the coverage result should match to the solution path on current environment.To replace it, this path should be set.'
required: true
default: '/app'
verbose:
description: 'Enables verbose flag for sonar scanner,in verbose mode logs are too chatty and the action works slow due to heavy output'
required: true
default: 'false'
sonar-host-url:
description: 'URL of the sonarqube/sonarcloud instance'
required: true
default: 'https://sonarcloud.io'
dotnet-build-command:
description: 'dotnet build command to be executed'
required: true
default: 'dotnet build -v q -nologo --configuration Release'
opencover-reports-paths:
description: 'Path expression that will be set to sonar.cs.opencover.reportsPaths'
required: true
default: '/**/*.opencover.xml'
vstest-reports-paths:
description: 'Path expression that will be set to sonar.cs.vstest.reportsPaths'
required: true
default: '/**/*.trx'
project-key:
description: 'Sonarcloud/Sonarqube project key.Default is {context.repo.owner}_{context.repo.name} if not set'
required: false
organization:
description: 'Sonarcloud/Sonarqube organization name.Default is {context.repo.owner} if not set'
required: false
project-name:
description: 'Sonarcloud/Sonarqube project name.Default is {context.repo.repo)} if not set'
required: false
test-result-artifacts:
description: 'Artifact names of test results that are going to be downloaded. Multiple artifact names should be separated with a comma'
required: false
sonar-scanner-version:
description: 'Dotnet Sonar scanner version.Default is latest version'
required: false
coverage-artifact-pooling-timeout-sec:
description: 'Timeout for the pooling of coverage artifacts.Default is 900 seconds'
required: true
default: '900'
runs:
using: node12
main: compiled/index.js