Update build.yml
This commit is contained in:
parent
fe861bbaf9
commit
2f9bce9d5f
1 changed files with 1 additions and 2 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
@ -19,14 +19,13 @@ jobs:
|
|||
- run: |
|
||||
go test -short -coverprofile=cov.out `go list ./... | grep -v vendor/`
|
||||
go tool cover -func=cov.out
|
||||
ls
|
||||
- name: Analyze with SonarCloud
|
||||
uses: sonarsource/sonarcloud-github-action@master
|
||||
with:
|
||||
args: >
|
||||
-Dsonar.organization=smarthead
|
||||
-Dsonar.projectKey=smarthead_go-amo
|
||||
-Dsonar.go.coverage.reportPaths=go-amo/cov.out
|
||||
-Dsonar.go.coverage.reportPaths=./go-amo/cov.out
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||
|
|
Loading…
Reference in a new issue