Auto csproj fix and update by bot.

This commit is contained in:
Nuget Ninja
2024-05-04 08:40:58 +00:00
parent 856cabc8b2
commit fcf7bb0b94
+3 -1
View File
@@ -31,7 +31,9 @@ lint:
- build
script:
- jb inspectcode ./*.sln --output=analyze_output.xml --build -f=xml
# Remove the warning of UnusedAutoPropertyAccessor
# Remove the warning of UnusedAutoPropertyAccessor InconsistentNaming
- sed -i '/InconsistentNaming/d' analyze_output.xml
- sed -i '/AssignNullToNotNullAttribute/d' analyze_output.xml # This is because jetbrains is not smart enough to understand the nullability of C# 8.0
- sed -i '/UnusedAutoPropertyAccessor/d' analyze_output.xml
- grep 'WARNING' analyze_output.xml && cat analyze_output.xml && exit 1 || echo "No warning found"
artifacts: