Skip to content

Commit 3658e2f

Browse files
FrostyApeOneFrostyApeOne
authored andcommitted
Updated Sonar project
1 parent 624115f commit 3658e2f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build-test-template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ jobs:
8181
run: |
8282
echo "run_tests is set to: ${{ inputs.run_tests }}"
8383
if [ "${{ inputs.run_tests }}" == "true" ]; then
84-
dotnet-sonarscanner begin /k:"DFE-Digital_external-applications-api" /o:"dfe-digital" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.coverageReportPaths=CoverageReport/SonarQube.xml;
84+
dotnet-sonarscanner begin /k:"DFE-Digital_flexforms-api" /o:"dfe-digital" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.coverageReportPaths=CoverageReport/SonarQube.xml;
8585
else
86-
dotnet-sonarscanner begin /k:"DFE-Digital_external-applications-api" /o:"dfe-digital" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io";
86+
dotnet-sonarscanner begin /k:"DFE-Digital_flexforms-api" /o:"dfe-digital" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io";
8787
fi
8888
dotnet build --no-restore -p:CI=${CI} ${{ inputs.project_path }}
8989

.github/workflows/test-solution.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
env:
7171
CI: true
7272
run: |
73-
dotnet-sonarscanner begin /k:"DFE-Digital_external-applications-api" /o:"dfe-digital" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.coverageReportPaths=CoverageReport/SonarQube.xml
73+
dotnet-sonarscanner begin /k:"DFE-Digital_flexforms-api" /o:"dfe-digital" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.coverageReportPaths=CoverageReport/SonarQube.xml
7474
dotnet build GovUK.Dfe.FlexForms.Api.sln --no-restore -p:CI=${CI}
7575
7676
- name: Run Tests

0 commit comments

Comments
 (0)