Skip to content

Upgrade Nuget

Upgrade Nuget #62

Triggered via push September 6, 2024 06:38
Status Failure
Total duration 28s
Artifacts

test.yml

on: push
build-publish
20s
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
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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/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#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/Clusters/ClusterServerTests.cs#L50
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/Clusters/ClusterControllerTests.cs#L55
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)