File tree Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -41,14 +41,10 @@ jobs:
41
41
SHA : ${{ steps.short-sha.outputs.sha }}
42
42
with :
43
43
projectBaseDir : ./
44
- args : >
45
- -Dsonar.organization=pangolin-golang
46
- -Dsonar.projectKey=pangolin-do-golang_tech-challenge-order-api
44
+ args : >
47
45
-Dsonar.projectVersion=${{ env.SHA }}
48
46
-Dsonar.language=go
49
- -Dsonar.qualitygate.wait=true
50
- -Dsonar.go.coverage.reportPaths=./coverage.out
51
- -Dsonar.go.tests.reportPaths=./internal/
47
+ -Dsonar.qualitygate.wait=true
52
48
-Dsonar.verbose=true
53
49
54
50
- name : Login to GitHub Container Registry
Original file line number Diff line number Diff line change
1
+ # Github organization linked to sonarcloud
2
+ sonar.organization =pangolin-golang
3
+
4
+ # Project key from sonarcloud dashboard for Github Action,
5
+ # otherwise pick a project key you like
6
+ sonar.projectKey =pangolin-do-golang_tech-challenge-order-api
7
+
8
+ sonar.projectName =tech-challenge-order-api
9
+
10
+ sonar.sources =.
11
+ sonar.exclusions =**/*_test.go,**/vendor/**,**/testdata/*
12
+
13
+ sonar.tests =.
14
+ sonar.test.inclusions =**/internal/*_test.go
15
+ sonar.test.exclusions =**/mocks/**
16
+ sonar.go.coverage.reportPaths =/github/workspace/coverage.out
You can’t perform that action at this time.
0 commit comments