Skip to content

Commit

Permalink
switch how we search for reports
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcauchi committed Jun 22, 2023
1 parent ff35eb0 commit 874c1bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/unit-testing-and-static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 874c1bc

Please sign in to comment.