diff --git a/.github/workflows/build-test-template.yml b/.github/workflows/build-test-template.yml index a3eb730..5a88638 100644 --- a/.github/workflows/build-test-template.yml +++ b/.github/workflows/build-test-template.yml @@ -78,7 +78,7 @@ jobs: CI: true run: | echo "run_tests is set to: ${{ inputs.run_tests }}" - if [ ${{ inputs.run_tests }} == "true" ]; then + if [ "${{ inputs.run_tests }}" == "true" ]; then dotnet-sonarscanner begin /k:"${{ inputs.sonar_project_key }}" /o:"dfe-digital" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.coverageReportPaths=CoverageReport/SonarQube.xml; else dotnet-sonarscanner begin /k:"${{ inputs.sonar_project_key }}" /o:"dfe-digital" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io"; diff --git a/src/DfE.CoreLibs.Caching/ServiceCollectionExtensions.cs b/src/DfE.CoreLibs.Caching/ServiceCollectionExtensions.cs index c5fcda9..c688d21 100644 --- a/src/DfE.CoreLibs.Caching/ServiceCollectionExtensions.cs +++ b/src/DfE.CoreLibs.Caching/ServiceCollectionExtensions.cs @@ -16,5 +16,4 @@ public static IServiceCollection AddServiceCaching( return services; } } -} - +} \ No newline at end of file