Skip to content

Commit

Permalink
updating code quality
Browse files Browse the repository at this point in the history
  • Loading branch information
alanmmolina committed Sep 8, 2024
1 parent 4f43d0d commit 0fc788c
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,24 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
- name: Upload to sonarcloud.io
uses: sonarsource/sonarqube-scan-action@v2.3.0
env:
SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.sonarcloud_token }}
SONAR_ORGANIZATION: ${{ env.SONAR_ORGANIZATION }}
SONAR_PROJECT_KEY: ${{ env.SONAR_PROJECT_KEY }}
with:
args: >
-Dsonar.host.url=https://sonarcloud.io
-Dsonar.projectKey=${{ env.SONAR_PROJECT_KEY }}
-Dsonar.organization=${{ env.SONAR_ORGANIZATION }}
-Dsonar.sources=source
-Dsonar.language=python
-Dsonar.externalIssuesReportPaths=sonar-issues.json
- name: Archive Results
uses: actions/upload-artifact@v3
with:
name: code-quality-report
path: sonar-issues.json

0 comments on commit 0fc788c

Please sign in to comment.