Auto csproj fix and update by bot.
This commit is contained in:
+3
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user