Skip to content

Mocking Migration to NSubstitute #389

Mocking Migration to NSubstitute

Mocking Migration to NSubstitute #389

Triggered via pull request February 25, 2024 16:37
Status Failure
Total duration 1m 30s
Artifacts

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
build_and_test
Process completed with exit code 1.
build_and_test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build_and_test: src/EvoSC.Modules.SourceGeneration/AssemblyModuleInfoGenerator.cs#L15
'EvoSC.Modules.SourceGeneration.AssemblyModuleInfoGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
build_and_test: src/EvoSC.Modules.SourceGeneration/AssemblyModuleInfoGenerator.cs#L89
Loop should be simplified by calling Select(dependency => dependency.Key)) (https://rules.sonarsource.com/csharp/RSPEC-3267)
build_and_test: src/EvoSC.Common/Config/Stores/TomlConfigStore.cs#L22
Converting null literal or possible null value to non-nullable type.
build_and_test: src/EvoSC.Common/Config/Stores/TomlConfigStore.cs#L26
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'.
build_and_test: src/EvoSC.Common/Config/Stores/TomlConfigStore.cs#L76
Dereference of a possibly null reference.
build_and_test: src/EvoSC.Common/Config/Stores/TomlConfigStore.cs#L76
Possible null reference argument for parameter 'hex' in 'TextColor.TextColor(string hex)'.
build_and_test: src/EvoSC.Common/Config/Stores/TomlConfigStore.cs#L81
Possible null reference argument for parameter 't' in 'TomlValue? TomletMain.ValueFrom(Type type, object t, TomlSerializerOptions? options = null)'.
build_and_test: src/EvoSC.Common/Config/Stores/TomlConfigStore.cs#L86
Dereference of a possibly null reference.
build_and_test: src/EvoSC.Common/Config/Stores/TomlConfigStore.cs#L109
Dereference of a possibly null reference.
build_and_test: src/EvoSC.Common/Util/Auditing/AuditEventBuilder.cs#L21
Non-nullable property 'EventComment' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.