Skip to content

使用IPacketEncoder编码器来序列化消息编解码 #55

使用IPacketEncoder编码器来序列化消息编解码

使用IPacketEncoder编码器来序列化消息编解码 #55

Triggered via push June 30, 2024 06:05
Status Failure
Total duration 1m 13s
Artifacts

test.yml

on: push
build-publish
1m 4s
build-publish
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
build-publish
Process completed with exit code 1.
build-publish
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v2. 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#L147
Unreachable code detected
build-publish: NewLife.MqttServer/DefaultManagedMqttClient.cs#L114
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: NewLife.MqttServer/DefaultManagedMqttClient.cs#L155
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: NewLife.MqttServer/DefaultManagedMqttClient.cs#L166
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: XUnitTestClient/MqttClientTests.cs#L70
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
build-publish: XUnitTestClient/MqttClientTests.cs#L81
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
build-publish: XUnitTestClient/MqttClientTests.cs#L95
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
build-publish: XUnitTestClient/MqttClientTests.cs#L121
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
build-publish: XUnitTestClient/AliyunMqttClientTests.cs#L14
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
build-publish: XUnitTestClient/MqttClientTests.cs#L132
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)