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