mirror of
https://github.com/bitwarden/server
synced 2025-12-28 06:03:29 +00:00
Configure Sonar tests and sources (#4505)
This commit is contained in:
1
.github/workflows/scan.yml
vendored
1
.github/workflows/scan.yml
vendored
@@ -83,6 +83,7 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
dotnet-sonarscanner begin /k:"${{ github.repository_owner }}_${{ github.event.repository.name }}" \
|
||||
/d:sonar.tests=test/ /d:sonar.sources=. /d:sonar.test.inclusions=test/ /d:sonar.exclusions=test/ \
|
||||
/o:"${{ github.repository_owner }}" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" \
|
||||
/d:sonar.host.url="https://sonarcloud.io"
|
||||
dotnet build
|
||||
|
||||
Reference in New Issue
Block a user