Auto csproj fix and update by bot.
This commit is contained in:
+5
-1
@@ -13,6 +13,9 @@ before_script:
|
|||||||
- 'echo "Hostname: $(hostname)"'
|
- 'echo "Hostname: $(hostname)"'
|
||||||
- 'dotnet --info'
|
- 'dotnet --info'
|
||||||
|
|
||||||
|
variables:
|
||||||
|
GIT_CLONE_PATH: '$CI_BUILDS_DIR/$CI_PROJECT_NAME/$CI_PIPELINE_ID'
|
||||||
|
|
||||||
restore:
|
restore:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
@@ -30,7 +33,8 @@ lint:
|
|||||||
needs:
|
needs:
|
||||||
- build
|
- build
|
||||||
script:
|
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
|
# Remove the warning of UnusedAutoPropertyAccessor InconsistentNaming
|
||||||
- sed -i '/InconsistentNaming/d' analyze_output.xml
|
- 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 '/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>
|
<Nullable>enable</Nullable>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Aiursoft.AiurObserver.Extensions" Version="8.0.4" />
|
<PackageReference Include="Aiursoft.AiurObserver.Extensions" Version="8.0.5" />
|
||||||
<PackageReference Include="Aiursoft.AiurObserver.WebSocket.Server" Version="8.0.4" />
|
<PackageReference Include="Aiursoft.AiurObserver.WebSocket.Server" Version="8.0.5" />
|
||||||
<PackageReference Include="Aiursoft.InMemoryKvDb" Version="1.0.6" />
|
<PackageReference Include="Aiursoft.InMemoryKvDb" Version="1.0.6" />
|
||||||
<PackageReference Include="Aiursoft.Scanner" Version="8.0.2" />
|
<PackageReference Include="Aiursoft.Scanner" Version="8.0.2" />
|
||||||
<PackageReference Include="Aiursoft.WebTools" Version="8.0.28" />
|
<PackageReference Include="Aiursoft.WebTools" Version="8.0.28" />
|
||||||
|
|||||||
Reference in New Issue
Block a user