Skip to content

Commit

Permalink
ci: treat errors related with docs as warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
moreal committed Nov 12, 2024
1 parent 607266d commit 8bcf1e7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Lib9c.Abstractions/Lib9c.Abstractions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<OutputPath>.bin</OutputPath>
<IntermediateOutputPath>.obj</IntermediateOutputPath>
<LangVersion>9</LangVersion>
Expand Down
5 changes: 5 additions & 0 deletions Lib9c.Common.ruleset
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,9 @@
instead. -->
<Rule Id="S4035" Action="None" />
</Rules>

<Rules AnalyzerId="Microsoft.CodeAnalysis.CSharp" RuleNamespace="Microsoft.CodeAnalysis.CSharp">
<Rule Id="CS1573" Action="Warning" />
<Rule Id="CS1591" Action="Warning" />
</Rules>
</RuleSet>
2 changes: 1 addition & 1 deletion Lib9c/Lib9c.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<NoWarn>$(NoWarn);CS0162;CS8032;CS0618</NoWarn>
<CodeAnalysisRuleSet>..\Lib9c.Common.ruleset</CodeAnalysisRuleSet>
<OutputPath>.bin</OutputPath>
Expand Down

0 comments on commit 8bcf1e7

Please sign in to comment.