From c50b3cca507abec9bfd1c10b04387b9b82d80fde Mon Sep 17 00:00:00 2001 From: DmitryDmitriev Date: Wed, 24 Feb 2021 15:48:56 +0300 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9132857..ca60ab2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,13 +19,14 @@ jobs: - run: | go test -short -coverprofile=cov.out `go list ./... | grep -v vendor/` go tool cover -func=cov.out + pwd - 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=cov.out env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}