|
3 | 3 | <LangVersion>latest</LangVersion> |
4 | 4 | <Nullable>enable</Nullable> |
5 | 5 | <ImplicitUsings>enable</ImplicitUsings> |
6 | | - <ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild> <!-- Enable deterministic builds as per https://github.com/clairernovotny/DeterministicBuilds. Recommended when using sourcelink --> |
7 | | - <WarningsAsErrors>nullable;</WarningsAsErrors> <!-- treat all nullable reference warnings as errors --> |
8 | | - <AnalysisLevel>latest</AnalysisLevel> <!-- Use the latest code analyzers that have been released are used. https://docs.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#analysislevel --> |
9 | | - <AnalysisMode>AllEnabledByDefault</AnalysisMode> <!-- Aggressive or opt-out mode, where all rules are enabled by default as build warnings. https://docs.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#analysismode --> |
10 | | - <EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild> <!-- Force code analysis to run on build. If this starts to slow down the build or Visual Studio consider enabling it only in CI. https://docs.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#enforcecodestyleinbuild --> |
11 | | - <EnableNETAnalyzers>true</EnableNETAnalyzers> <!-- .NET code quality analysis is only enabled by default for projects that target .NET 5.0 or later. https://docs.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#enablenetanalyzers --> |
| 6 | + <!-- Enable deterministic builds as per https://github.com/clairernovotny/DeterministicBuilds. Recommended when using sourcelink --> |
| 7 | + <ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild> |
| 8 | + <!-- treat all nullable reference warnings as errors --> |
| 9 | + <WarningsAsErrors>nullable;</WarningsAsErrors> |
| 10 | + <!-- Aggressive or opt-out mode, where all rules are enabled by default as build warnings. https://docs.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#analysismode --> |
| 11 | + <AnalysisMode>AllEnabledByDefault</AnalysisMode> |
| 12 | + <!-- Force code analysis to run on build. If this starts to slow down the build or Visual Studio consider enabling it only in CI. https://docs.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#enforcecodestyleinbuild --> |
| 13 | + <EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild> |
12 | 14 | </PropertyGroup> |
13 | 15 |
|
14 | 16 | <ItemGroup> |
|
43 | 45 | <PackageReference Include="Shouldly" Version="4.2.1" /> |
44 | 46 | <PackageReference Include="xunit.analyzers" Version="1.1.0" /> |
45 | 47 | <PackageReference Include="NSubstitute.Analyzers.CSharp" Version="1.0.16" /> |
46 | | - <PackageReference Include="GitHubActionsTestLogger" Version="2.0.1" /> |
| 48 | + <PackageReference Include="GitHubActionsTestLogger" Version="2.1.0" /> |
47 | 49 | <PackageReference Include="LiquidTestReports.Custom" Version="1.0.9" /> |
48 | 50 | </ItemGroup> |
49 | 51 |
|
|
0 commit comments