Skip to content

Migrate to xUnit 3 #2061

Migrate to xUnit 3

Migrate to xUnit 3 #2061

Triggered via pull request December 20, 2024 16:04
Status Success
Total duration 6m 30s
Artifacts 1

core_build_publish.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

24 warnings
Event File
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Prepare & Version
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build: src/Domain/LeanCode.DomainModels.Generators/IdSource.cs#L47
In method 'BuildPrefixedGuid', replace the call to 'ToLowerInvariant' with 'ToUpperInvariant' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1308)
Build: src/Domain/LeanCode.DomainModels.Generators/IdSource.cs#L176
In method 'BuildPrefixedUlid', replace the call to 'ToLowerInvariant' with 'ToUpperInvariant' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1308)
Build: src/Domain/LeanCode.DomainModels.Generators/IdSource.cs#L400
In method 'GetDefaultPrefix', replace the call to 'ToLowerInvariant' with 'ToUpperInvariant' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1308)
Build: test/LeanCode.Test.Helpers/ExternalServiceFactAttribute.cs#L8
Abstract type 'ExternalServiceFactAttribute' should not have public constructors (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1012)
Build: test/LeanCode.Test.Helpers/IntegrationFactAttribute.cs#L7
Avoid unsealed attributes (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1813)
Build: test/LeanCode.Test.Helpers/LongRunningFact.cs#L15
Remove the underscores from member name LeanCode.Test.Helpers.LongRunningFactTest.Long_running_test() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
Build: src/Tools/LeanCode.CodeAnalysis/CodeActions/Helpers.cs#L25
Dereference of a possibly null reference.
Build: src/Tools/LeanCode.CodeAnalysis/CodeActions/Helpers.cs#L35
Dereference of a possibly null reference.
Build: src/Tools/LeanCode.CodeAnalysis/Analyzers/SuggestCommandsHaveValidators.cs#L30
In externally visible method 'void SuggestCommandsHaveValidators.Initialize(AnalysisContext context)', validate parameter 'context' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Build: src/Tools/LeanCode.CodeAnalysis/Analyzers/CancellationTokensShouldFollowNamingConvention.cs#L29
In externally visible method 'void CancellationTokensShouldFollowNamingConvention.Initialize(AnalysisContext context)', validate parameter 'context' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test: test/LeanCode.Test.Helpers/IntegrationFactAttribute.cs#L7
Avoid unsealed attributes (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1813)
Test: test/LeanCode.Test.Helpers/ExternalServiceFactAttribute.cs#L8
Abstract type 'ExternalServiceFactAttribute' should not have public constructors (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1012)
Test: test/LeanCode.Test.Helpers/LongRunningFact.cs#L15
Remove the underscores from member name LeanCode.Test.Helpers.LongRunningFactTest.Long_running_test() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
Test: src/Tools/LeanCode.CodeAnalysis/CodeActions/Helpers.cs#L25
Dereference of a possibly null reference.
Test: src/Tools/LeanCode.CodeAnalysis/CodeActions/Helpers.cs#L35
Dereference of a possibly null reference.
Test: src/Tools/LeanCode.CodeAnalysis/Analyzers/SuggestCommandsHaveValidators.cs#L30
In externally visible method 'void SuggestCommandsHaveValidators.Initialize(AnalysisContext context)', validate parameter 'context' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Test: src/Tools/LeanCode.CodeAnalysis/Analyzers/CancellationTokensShouldFollowNamingConvention.cs#L29
In externally visible method 'void CancellationTokensShouldFollowNamingConvention.Initialize(AnalysisContext context)', validate parameter 'context' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Test: src/Tools/LeanCode.CodeAnalysis/CodeActions/Helpers.cs#L23
In externally visible method 'void Helpers.InsertNamespaceDirective(DocumentEditor editor, SyntaxNode root, string namespaceName)', validate parameter 'root' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Test: src/Tools/LeanCode.CodeAnalysis/CodeActions/Helpers.cs#L30
In externally visible method 'void Helpers.InsertNamespaceDirective(DocumentEditor editor, SyntaxNode root, string namespaceName)', validate parameter 'editor' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Test: src/Tools/LeanCode.CodeAnalysis/CodeActions/FixCQRSHandlerNamingCodeAction.cs#L28
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)

Artifacts

Produced during runtime
Name Size
Event File
3.18 KB