diff --git a/.github/workflows/build-test-template.yml b/.github/workflows/build-test-template.yml index 5a88638..7d9fab9 100644 --- a/.github/workflows/build-test-template.yml +++ b/.github/workflows/build-test-template.yml @@ -86,11 +86,11 @@ jobs: dotnet build --no-restore -p:CI=${CI} ${{ inputs.project_path }} - name: Run Tests - if: ${{ inputs.run_tests }} == true + if: ${{ inputs.run_tests }} run: dotnet test --no-build --verbosity normal --collect:"XPlat Code Coverage" ${{ inputs.project_path }} - name: Generate Code Coverage Report - if: ${{ inputs.run_tests }} == true + if: ${{ inputs.run_tests }} run: reportgenerator -reports:./**/coverage.cobertura.xml -targetdir:./CoverageReport -reporttypes:SonarQube - name: Complete Sonar Scan diff --git a/src/DfE.CoreLibs.Caching/ServiceCollectionExtensions.cs b/src/DfE.CoreLibs.Caching/ServiceCollectionExtensions.cs index c688d21..c5fcda9 100644 --- a/src/DfE.CoreLibs.Caching/ServiceCollectionExtensions.cs +++ b/src/DfE.CoreLibs.Caching/ServiceCollectionExtensions.cs @@ -16,4 +16,5 @@ public static IServiceCollection AddServiceCaching( return services; } } -} \ No newline at end of file +} +