Skip to content

Commit 33267d7

Browse files
Use --no-incremental on build step as required by SonarScanner docs
Co-authored-by: 304NotModified <5808377+304NotModified@users.noreply.github.com>
1 parent b243c6f commit 33267d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/sonarcloud.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
/d:sonar.cs.vscoveragexml.reportsPaths="coverage.xml"
4444
4545
- name: Build
46-
run: dotnet build SLNX-validator.slnx --no-restore -c Release
46+
run: dotnet build SLNX-validator.slnx --no-incremental -c Release
4747

4848
- name: Test with coverage
4949
run: dotnet-coverage collect "dotnet test --solution SLNX-validator.slnx --no-build -c Release --verbosity normal" -f xml -o coverage.xml

0 commit comments

Comments
 (0)