Skip to content

refactor: ♻️ enhance formatting and analyzer rules (#15) #29

refactor: ♻️ enhance formatting and analyzer rules (#15)

refactor: ♻️ enhance formatting and analyzer rules (#15) #29

Triggered via push September 15, 2024 20:18
Status Failure
Total duration 53s
Artifacts

publish.yml

on: push
create-nuget
45s
create-nuget
deploy-nuget
0s
deploy-nuget
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
create-nuget: src/Shared/EF/Extensions/ServiceCollectionExtensions.cs#L51
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
create-nuget: src/Shared/EF/Extensions/ServiceCollectionExtensions.cs#L52
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
create-nuget: src/Shared/Logging/Extensions.cs#L33
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
create-nuget: src/Shared/Logging/Extensions.cs#L34
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
create-nuget: src/Shared/Logging/Extensions.cs#L35
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
create-nuget: src/Shared/Logging/Extensions.cs#L37
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
create-nuget: src/Shared/Logging/Extensions.cs#L38
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
create-nuget: src/Shared/Logging/Extensions.cs#L40
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
create-nuget: src/Shared/Logging/Extensions.cs#L41
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
create-nuget: src/Shared/Resiliency/Extensions/HttpClientBuilderExtensions.cs#L20
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
create-nuget
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
create-nuget: src/Shared/Logging/LoggingBehavior.cs#L76
Async-iterator 'StreamLoggingBehavior<TRequest, TResponse>.Handle(TRequest, StreamHandlerDelegate<TResponse>, CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
create-nuget: src/Shared/Web/Extensions/HeaderDictionaryExtensions.cs#L36
Possible null reference assignment.
create-nuget: src/Shared/Cache/Behaviours/CachingBehavior.cs#L94
Async-iterator 'StreamCachingBehavior<TRequest, TResponse>.Handle(TRequest, StreamHandlerDelegate<TResponse>, CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
create-nuget: src/Shared/Validation/RequestValidationBehavior.cs#L74
Async-iterator 'StreamRequestValidationBehavior<TRequest, TResponse>.Handle(TRequest, StreamHandlerDelegate<TResponse>, CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
create-nuget: src/Shared/Web/Extensions/QueryCollectionExtensions.cs#L37
Possible null reference assignment.
create-nuget: src/Shared/Web/Extensions/QueryCollectionExtensions.cs#L57
Possible null reference assignment.
create-nuget: src/Shared/Cache/Behaviours/InvalidateCachingBehavior.cs#L68
Async-iterator 'StreamInvalidateCachingBehavior<TRequest, TResponse>.Handle(TRequest, StreamHandlerDelegate<TResponse>, CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
create-nuget: src/Shared/Abstractions/Core/Domain/IHaveIdentity.cs#L6
Possible null reference return.
create-nuget: src/Shared/Cache/RedisOptions.cs#L5
Non-nullable property 'Host' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
create-nuget: src/Shared/Core/Reflection/ReflectionUtilities.cs#L12
Possible null reference return.