Skip to content

[fix]修正XmlConfig保存配置文件错误,错误判空导致未能正确写入配置类中的空属性。尽管XmlConfig已经过期多年,但一些老项… #256

[fix]修正XmlConfig保存配置文件错误,错误判空导致未能正确写入配置类中的空属性。尽管XmlConfig已经过期多年,但一些老项…

[fix]修正XmlConfig保存配置文件错误,错误判空导致未能正确写入配置类中的空属性。尽管XmlConfig已经过期多年,但一些老项… #256

Triggered via push April 17, 2024 14:47
Status Success
Total duration 2m 21s
Artifacts

publish-beta.yml

on: push
build-publish
2m 8s
build-publish
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build-publish
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-publish: Test/Program.cs#L36
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build-publish: Test/Program.cs#L428
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build-publish: Test/Program.cs#L97
The field 'Program._client' is never used
build-publish: XUnitTest.Core/Collections/CollectionHelperTests.cs#L37
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build-publish: XUnitTest.Core/Collections/CollectionHelperTests.cs#L47
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build-publish: XUnitTest.Core/Log/TracerTests.cs#L401
'WebRequest.CreateHttp(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
build-publish: XUnitTest.Core/IO/ExcelReaderTests.cs#L40
Public method 'Test2' on test class 'ExcelReaderTests' should be marked as a Fact. Reduce the visibility of the method, or add a Fact attribute to the method. (https://xunit.net/xunit.analyzers/rules/xUnit1013)
build-publish: XUnitTest.Core/Common/MachineInfoTests.cs#L39
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
build-publish: XUnitTest.Core/Extension/StringHelperTests.cs#L86
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
build-publish: XUnitTest.Core/Data/PacketTests.cs#L178
The literal or constant value (byte)0x11 should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'AfterAppendSetTest' on type 'PacketTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)