Skip to content

Commit 17ee306

Browse files
authored
Change actions
1 parent 34683dd commit 17ee306

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/BuildApp.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
id: short-sha
2323
with:
2424
length: 7
25+
2526
- name: Setup GoLang
2627
uses: actions/setup-go@v3
2728
with:
@@ -30,7 +31,7 @@ jobs:
3031
- name: Build And Test
3132
shell: bash
3233
run: |
33-
go test -cover ./internal/... -coverprofile=./coverage.out -coverpkg=./internal/...
34+
go test -cover ./internal/... -covermode=atomic -coverprofile=coverage.out
3435
3536
- name: SonarCloud Scan
3637
uses: SonarSource/sonarcloud-github-action@master
@@ -47,7 +48,7 @@ jobs:
4748
-Dsonar.language=go
4849
-Dsonar.qualitygate.wait=true
4950
-Dsonar.tests=internal/
50-
-Dsonar.go.coverage.reportPaths=./coverage.out
51+
-Dsonar.go.coverage.reportPaths=coverage.out
5152
-Dsonar.verbose=true
5253
5354
- name: Login to GitHub Container Registry

0 commit comments

Comments
 (0)