Skip to content

Refactors (#979)

Refactors (#979) #3235

Triggered via push October 29, 2023 08:42
Status Success
Total duration 5m 11s
Artifacts

ci_build.yml

on: push
🔨 Build sources (CI)
5m 2s
🔨 Build sources (CI)
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
🔨 Build sources (CI)
; expected
🔨 Build sources (CI)
The following actions uses node12 which is deprecated and will be forced to run on node16: codecov/codecov-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
🔨 Build sources (CI): src/HassModel/NetDeamon.HassModel/HaContextExtensions.cs#L16
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510) [/home/runner/work/netdaemon/netdaemon/src/HassModel/NetDeamon.HassModel/NetDaemon.HassModel.csproj]
🔨 Build sources (CI): src/HassModel/NetDeamon.HassModel/DependencyInjectionSetup.cs#L17
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510) [/home/runner/work/netdaemon/netdaemon/src/HassModel/NetDeamon.HassModel/NetDaemon.HassModel.csproj]
🔨 Build sources (CI): src/HassModel/NetDeamon.HassModel/StateObservableExtensions.cs#L41
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510) [/home/runner/work/netdaemon/netdaemon/src/HassModel/NetDeamon.HassModel/NetDaemon.HassModel.csproj]
🔨 Build sources (CI): src/HassModel/NetDeamon.HassModel/StateObservableExtensions.cs#L42
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510) [/home/runner/work/netdaemon/netdaemon/src/HassModel/NetDeamon.HassModel/NetDaemon.HassModel.csproj]
🔨 Build sources (CI): src/HassModel/NetDeamon.HassModel/StateObservableExtensions.cs#L43
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510) [/home/runner/work/netdaemon/netdaemon/src/HassModel/NetDeamon.HassModel/NetDaemon.HassModel.csproj]
🔨 Build sources (CI): src/HassModel/NetDeamon.HassModel/Internal/AppScopedHaContextProvider.cs#L95
'CancellationTokenSource.Cancel()' synchronously blocks. Await 'CancellationTokenSource.CancelAsync()' instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1849) [/home/runner/work/netdaemon/netdaemon/src/HassModel/NetDeamon.HassModel/NetDaemon.HassModel.csproj]
🔨 Build sources (CI): src/HassModel/NetDeamon.HassModel/StateObservableExtensions.cs#L67
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510) [/home/runner/work/netdaemon/netdaemon/src/HassModel/NetDeamon.HassModel/NetDaemon.HassModel.csproj]
🔨 Build sources (CI): src/HassModel/NetDeamon.HassModel/StateObservableExtensions.cs#L68
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510) [/home/runner/work/netdaemon/netdaemon/src/HassModel/NetDeamon.HassModel/NetDaemon.HassModel.csproj]
🔨 Build sources (CI): src/HassModel/NetDeamon.HassModel/StateObservableExtensions.cs#L69
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510) [/home/runner/work/netdaemon/netdaemon/src/HassModel/NetDeamon.HassModel/NetDaemon.HassModel.csproj]
🔨 Build sources (CI): src/Client/NetDaemon.HassClient.Tests/Integration/IntegrationTestBase.cs#L5
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051) [/home/runner/work/netdaemon/netdaemon/src/Client/NetDaemon.HassClient.Tests/NetDaemon.HassClient.Tests.csproj]