Skip to content

Commit

Permalink
ci: update sonarcloud coverage reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
elersong committed Jul 23, 2024
1 parent f69f569 commit 729e93a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ on:
branches:
- master
pull_request:
branches:
- master
types: [opened, synchronize, reopened]

jobs:
sonarcloud-code-quality:
Expand All @@ -32,7 +31,7 @@ jobs:
run: ls -la coverage/

- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@v2.3.0
uses: sonarsource/sonarcloud-github-action@master
with:
args: >
-Dsonar.organization=elersong
Expand All @@ -41,3 +40,4 @@ jobs:
-Dsonar.javascript.lcov.reportPaths=coverage/lcov.info
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 729e93a

Please sign in to comment.