Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit 714b196

Browse files
committed
fix solution file name
1 parent 8956787 commit 714b196

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/actions/perform-static-analysis/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ runs:
5252
echo "${{ inputs.sonar_organisation_key }}"
5353
echo "${{ inputs.sonar_token }}"
5454
./.sonar/scanner/dotnet-sonarscanner begin /k:"${{ inputs.sonar_project_key }}" /o:"${{ inputs.sonar_organisation_key }}" /d:sonar.token="${{ inputs.sonar_token }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.vscoveragexml.reportsPaths="coverage.xml" /d:sonar.typescript.lcov.reportsPaths="src/web/coverage/lcov.info" /d:sonar.lang.patterns.ts=**/*.ts,**/*.tsx,**/*.cts,**/*.mts /d:sonar.lang.patterns.js=**/*.js,**/*.jsx,**/*.cjs,**/*.mjs,**/*.vue /d:sonar.javascript.enabled=false
55-
dotnet build src/ServiceLayer.API.sln
56-
./.sonar/scanner/dotnet-coverage collect -f xml -o coverage.xml dotnet test src/ServiceLayer.API.sln
55+
dotnet build src/ServiceLayer.sln
56+
./.sonar/scanner/dotnet-coverage collect -f xml -o coverage.xml dotnet test src/ServiceLayer.sln
5757
cd src/web
5858
npm ci
5959
npm run test:unit:coverage -- --coverageDirectory=coverage --coverageReporters=lcov

scripts/config/sonar-scanner.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ sonar.typescript.file.suffixes=.ts,.tsx
4141
sonar.dotnet.key=SonarAnalyzer.CSharp
4242

4343
# Run C# Scanner (Requires Build Before Analysis)
44-
sonar.dotnet.visualstudio.solution.file=ServiceLayer.API.sln
44+
sonar.dotnet.visualstudio.solution.file=ServiceLayer.sln
4545
sonar.dotnet.build=false # Set to true if you want Sonar to build before scanning

0 commit comments

Comments
 (0)