Skip to content

Commit

Permalink
enable sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
Chinmay Samant authored and Chinmay Samant committed May 27, 2024
1 parent ead3553 commit 5f61bbb
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ jobs:
path: unit-test-report.json
if-no-files-found: error

# - name: Run sonar
# uses: sonarsource/sonarcloud-github-action@master
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
# SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
# with:
# args: >
# -Dsonar.projectVersion=${{ steps.get_version.outputs.VERSION }}
- name: Run sonar
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
with:
args: >
-Dsonar.projectVersion=${{ steps.get_version.outputs.VERSION }}

0 comments on commit 5f61bbb

Please sign in to comment.