Skip to content

Commit 9a0a307

Browse files
committed
feat: update dotnet workflow to disable full scan in SonarCloud integration
1 parent c412fa8 commit 9a0a307

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/dotnet.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ jobs:
7070
run: |
7171
dotnet restore
7272
dotnet tool update --global dotnet-coverage
73-
./.sonar/scanner/dotnet-sonarscanner begin /k:"magic5644_codeLineCounter" /o:"magic5644" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml
73+
./.sonar/scanner/dotnet-sonarscanner begin /k:"magic5644_codeLineCounter" /o:"magic5644" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml /d:sonar.scanner.scanAll=false
7474
dotnet build --no-incremental
7575
dotnet-coverage collect 'dotnet test --no-build' -f xml -o 'coverage.xml'
7676
./.sonar/scanner/dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
7777
78-
- name: Build
78+
- name: Build Release
7979
run: dotnet build -c Release
8080
- name: Test
8181
if: matrix.platform.name == 'MacOS'

0 commit comments

Comments
 (0)