From fcf7bb0b945de618d264a471bb551d2e9874d905 Mon Sep 17 00:00:00 2001 From: Nuget Ninja Date: Sat, 4 May 2024 08:40:58 +0000 Subject: [PATCH] Auto csproj fix and update by bot. --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d2fd63f..036c08b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: