📦 Push to nuget pre-release #2
push_nuget_prerelease.yml
on: workflow_dispatch
📦 publish nuget packages manual version
1m 13s
Deployment protection rules
Reviewers, timers, and other rules protecting deployments in this run
Event | Environments |
---|---|
helto4real
approved
|
CI - release environment |
Annotations
11 warnings
📦 publish nuget packages manual version:
src/Client/NetDaemon.HassClient/Common/Exceptions/HomeAssistantApiCallException.cs#L6
Change the base type of NetDaemon.Client.Internal.Exceptions.HomeAssistantApiCallException so that it no longer extends System.ApplicationException. This base exception type does not provide any additional value for framework classes. Extend 'System.Exception' or an existing unsealed exception type instead. Do not create a new exception base type unless there is specific value in enabling the creation of a catch handler for an entire class of exceptions. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1058)
|
📦 publish nuget packages manual version:
src/Client/NetDaemon.HassClient/Internal/Helpers/ResultMessageHandler.cs#L8
'ResultMessageHandler' contains field '_tokenSource' that is of IDisposable type 'CancellationTokenSource', but it is never disposed. Change the Dispose method on 'ResultMessageHandler' to call Close or Dispose on this field. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2213)
|
📦 publish nuget packages manual version:
src/Client/NetDaemon.HassClient/Internal/Helpers/HttpHelper.cs#L20
Change return type of method 'CreateHttpMessageHandler' from 'System.Net.Http.HttpMessageHandler' to 'System.Net.Http.HttpClientHandler' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
|
📦 publish nuget packages manual version:
src/Client/NetDaemon.HassClient/Internal/Helpers/AsyncLazy.cs#L6
Do not create tasks without passing a TaskScheduler (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2008)
|
📦 publish nuget packages manual version:
src/Client/NetDaemon.HassClient/Internal/HomeAssistantRunner.cs#L47
'CancellationTokenSource.Cancel()' synchronously blocks. Await 'CancellationTokenSource.CancelAsync()' instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1849)
|
📦 publish nuget packages manual version:
src/Client/NetDaemon.HassClient/Internal/Net/WebSocketClientImpl.cs#L62
Member 'ReceiveAsync' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
|
📦 publish nuget packages manual version:
src/Client/NetDaemon.HassClient/Internal/HomeAssistantConnection.cs#L51
Do not create tasks without passing a TaskScheduler (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2008)
|
📦 publish nuget packages manual version:
src/Client/NetDaemon.HassClient/Internal/Net/WebSocketTransportPipeline.cs#L166
'CancellationTokenSource.Cancel()' synchronously blocks. Await 'CancellationTokenSource.CancelAsync()' instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1849)
|
📦 publish nuget packages manual version:
src/Client/NetDaemon.HassClient/Internal/Net/WebSocketTransportPipeline.cs#L236
'CancellationTokenSource.Cancel()' synchronously blocks. Await 'CancellationTokenSource.CancelAsync()' instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1849)
|
📦 publish nuget packages manual version:
src/Client/NetDaemon.HassClient/Internal/HomeAssistantConnection.cs#L131
'Task<TResult>.Result' synchronously blocks. Use await instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1849)
|
📦 publish nuget packages manual version
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|