Update build.yml

This commit is contained in:
DmitryDmitriev 2021-02-24 15:44:45 +03:00 committed by GitHub
parent fe861bbaf9
commit 2f9bce9d5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }}