Enable analyzers and add a editorconfig (#955) #3160
ci_build.yml
on: push
🔨 Build sources (CI)
2m 44s
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: actions/setup-dotnet@v1, 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/Extensions/NetDaemon.Extensions.Scheduling.Tests/Scheduling/SchedulingTests.cs#L59
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201) [/home/runner/work/netdaemon/netdaemon/src/Extensions/NetDaemon.Extensions.Scheduling.Tests/NetDaemon.Extensions.Scheduling.Tests.csproj]
|
🔨 Build sources (CI):
src/Extensions/NetDaemon.Extensions.Scheduling.Tests/Scheduling/SchedulingTests.cs#L108
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201) [/home/runner/work/netdaemon/netdaemon/src/Extensions/NetDaemon.Extensions.Scheduling.Tests/NetDaemon.Extensions.Scheduling.Tests.csproj]
|
🔨 Build sources (CI):
src/Extensions/NetDaemon.Extensions.Scheduling.Tests/Scheduling/CronTests.cs#L84
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201) [/home/runner/work/netdaemon/netdaemon/src/Extensions/NetDaemon.Extensions.Scheduling.Tests/NetDaemon.Extensions.Scheduling.Tests.csproj]
|
🔨 Build sources (CI):
src/Extensions/NetDaemon.Extensions.Scheduling.Tests/Scheduling/DisposableSchedulerTest.cs#L91
Member 'CreateScheduler' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822) [/home/runner/work/netdaemon/netdaemon/src/Extensions/NetDaemon.Extensions.Scheduling.Tests/NetDaemon.Extensions.Scheduling.Tests.csproj]
|
🔨 Build sources (CI):
src/Extensions/NetDaemon.Extensions.Scheduling.Tests/Scheduling/CronTests.cs#L163
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201) [/home/runner/work/netdaemon/netdaemon/src/Extensions/NetDaemon.Extensions.Scheduling.Tests/NetDaemon.Extensions.Scheduling.Tests.csproj]
|
🔨 Build sources (CI):
src/Extensions/NetDaemon.Extensions.Scheduling.Tests/Scheduling/SchedulingTests.cs#L153
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201) [/home/runner/work/netdaemon/netdaemon/src/Extensions/NetDaemon.Extensions.Scheduling.Tests/NetDaemon.Extensions.Scheduling.Tests.csproj]
|
🔨 Build sources (CI):
src/Extensions/NetDaemon.Extensions.Scheduling.Tests/Scheduling/SchedulingTests.cs#L198
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201) [/home/runner/work/netdaemon/netdaemon/src/Extensions/NetDaemon.Extensions.Scheduling.Tests/NetDaemon.Extensions.Scheduling.Tests.csproj]
|
🔨 Build sources (CI):
src/Extensions/NetDaemon.Extensions.Scheduling.Tests/Scheduling/FakeLocalTimeZone.cs#L9
Type 'FakeLocalTimeZone' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852) [/home/runner/work/netdaemon/netdaemon/src/Extensions/NetDaemon.Extensions.Scheduling.Tests/NetDaemon.Extensions.Scheduling.Tests.csproj]
|
🔨 Build sources (CI):
src/Client/NetDaemon.HassClient/Common/Exceptions/HomeAssistantApiCallException.cs#L6
public HomeAssistantApiCallException() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032) [/home/runner/work/netdaemon/netdaemon/src/Client/NetDaemon.HassClient/NetDaemon.Client.csproj]
|
🔨 Build sources (CI):
src/Client/NetDaemon.HassClient/Common/Exceptions/HomeAssistantApiCallException.cs#L6
public HomeAssistantApiCallException(string message) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032) [/home/runner/work/netdaemon/netdaemon/src/Client/NetDaemon.HassClient/NetDaemon.Client.csproj]
|