Auto csproj fix and update by bot.

This commit is contained in:
Nuget Ninja
2024-11-13 08:32:41 +00:00
parent 34b58a94a5
commit 4665be0640
2 changed files with 7 additions and 3 deletions
+5 -1
View File
@@ -13,6 +13,9 @@ before_script:
- 'echo "Hostname: $(hostname)"'
- 'dotnet --info'
variables:
GIT_CLONE_PATH: '$CI_BUILDS_DIR/$CI_PROJECT_NAME/$CI_PIPELINE_ID'
restore:
stage: build
script:
@@ -30,7 +33,8 @@ lint:
needs:
- build
script:
- jb inspectcode ./*.sln --output=analyze_output.xml --build -f=xml
# 3 times retry because sometimes the first time will fail
- jb inspectcode ./*.sln --output=analyze_output.xml --build -f=xml || jb inspectcode ./*.sln --output=analyze_output.xml --build -f=xml || jb inspectcode ./*.sln --output=analyze_output.xml --build -f=xml
# 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
@@ -10,8 +10,8 @@
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Aiursoft.AiurObserver.Extensions" Version="8.0.4" />
<PackageReference Include="Aiursoft.AiurObserver.WebSocket.Server" Version="8.0.4" />
<PackageReference Include="Aiursoft.AiurObserver.Extensions" Version="8.0.5" />
<PackageReference Include="Aiursoft.AiurObserver.WebSocket.Server" Version="8.0.5" />
<PackageReference Include="Aiursoft.InMemoryKvDb" Version="1.0.6" />
<PackageReference Include="Aiursoft.Scanner" Version="8.0.2" />
<PackageReference Include="Aiursoft.WebTools" Version="8.0.28" />