Skip to content

Commit

Permalink
suppress obsolete warnings in build command
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdgun committed Dec 17, 2023
1 parent e890cd2 commit 26ea938
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
dotnet tool update dotnet-sonarscanner --tool-path ${{ env.SONAR_PATH }}
- name: Build solution
run: dotnet build -c ${{ env.DOTNET_BUILD_CONFIGURATION }} /warnaserror
run: dotnet build -c ${{ env.DOTNET_BUILD_CONFIGURATION }} /warnaserror /nowarn:CS0612

- name: Test solution
run: dotnet test --no-build -c ${{ env.DOTNET_BUILD_CONFIGURATION }} --verbosity normal
Expand Down
1 change: 0 additions & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<WarningsNotAsErrors>612,618</WarningsNotAsErrors>
</PropertyGroup>

<PropertyGroup>
Expand Down

0 comments on commit 26ea938

Please sign in to comment.