We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34683dd commit 17ee306Copy full SHA for 17ee306
.github/workflows/BuildApp.yaml
@@ -22,6 +22,7 @@ jobs:
22
id: short-sha
23
with:
24
length: 7
25
+
26
- name: Setup GoLang
27
uses: actions/setup-go@v3
28
@@ -30,7 +31,7 @@ jobs:
30
31
- name: Build And Test
32
shell: bash
33
run: |
- go test -cover ./internal/... -coverprofile=./coverage.out -coverpkg=./internal/...
34
+ go test -cover ./internal/... -covermode=atomic -coverprofile=coverage.out
35
36
- name: SonarCloud Scan
37
uses: SonarSource/sonarcloud-github-action@master
@@ -47,7 +48,7 @@ jobs:
47
48
-Dsonar.language=go
49
-Dsonar.qualitygate.wait=true
50
-Dsonar.tests=internal/
- -Dsonar.go.coverage.reportPaths=./coverage.out
51
+ -Dsonar.go.coverage.reportPaths=coverage.out
52
-Dsonar.verbose=true
53
54
- name: Login to GitHub Container Registry
0 commit comments