diff --git a/.github/workflows/unit-testing-and-static-analysis.yml b/.github/workflows/unit-testing-and-static-analysis.yml index 0b5cf18f7..ab9c6a44e 100644 --- a/.github/workflows/unit-testing-and-static-analysis.yml +++ b/.github/workflows/unit-testing-and-static-analysis.yml @@ -104,9 +104,9 @@ jobs: shell: bash run: | { - echo "sonarqube_tests_report_paths=$(find go-test-results -name output.txt | paste -sd "," -)" - echo "sonarqube_coverage_report_paths=$(find go-test-results -name '*coverage.txt' | paste -sd "," -)" - echo "sonarqube_golangci_report_paths=$(find golangci-lint-report -name 'golangci-lint-report.xml' -printf "%p,")" + echo "sonarqube_tests_report_paths=$(find . -type f -name output.txt | paste -sd "," -)" + echo "sonarqube_coverage_report_paths=$(find . -type f -name '*coverage.txt' | paste -sd "," -)" + echo "sonarqube_golangci_report_paths=$(find . -type f -name 'golangci-lint-report.xml' -printf "%p,")" } >> "$GITHUB_OUTPUT" - name: SonarQube Scan uses: sonarsource/sonarqube-scan-action@a6ba0aafc293e03de5437af7edbc97f7d3ebc91a # v1.2.0