Skip to content

async await

async await #326

Triggered via push December 5, 2024 12:28
Status Success
Total duration 3m 34s
Artifacts 9
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build: src/Monolith/ClassifiedAds.EndToEndTests/TestBase.cs#L31
Change TestBase.Dispose() to call GC.SuppressFinalize(object). This will prevent derived types that introduce a finalizer from needing to re-implement 'IDisposable' to call it. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1816)
build: src/Monolith/ClassifiedAds.CrossCuttingConcerns/Caching/ICache.cs#L11
Rename virtual/interface member ICache.Get(string) so that it no longer conflicts with the reserved language keyword 'Get'. Using a reserved keyword as the name of a virtual/interface member makes it harder for consumers in other languages to override/implement the member. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
build: src/Monolith/ClassifiedAds.CrossCuttingConcerns/ExtensionMethods/TypeExtensions.cs#L28
Prefer comparing 'Length' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
build: src/Monolith/ClassifiedAds.CrossCuttingConcerns/ExtensionMethods/GuidExtensions.cs#L7
Identifier 'guid' contains type name (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1720)
build: src/Monolith/ClassifiedAds.CrossCuttingConcerns/ExtensionMethods/ObjectExtensions.cs#L10
Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1869)
build: src/Monolith/ClassifiedAds.CrossCuttingConcerns/ExtensionMethods/HttpContentExtensions.cs#L19
Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1869)

Artifacts

Produced during runtime
Name Size
ClassifiedAds.Background
86.1 MB
ClassifiedAds.BlazorServerSide
95.2 MB
ClassifiedAds.BlazorServerSide
95.2 MB
ClassifiedAds.BlazorWebAssembly
14.6 MB
ClassifiedAds.GraphQL
86 MB
ClassifiedAds.Migrator
87 MB
ClassifiedAds.WebAPI
102 MB
ClassifiedAds.WebAPI
102 MB
ClassifiedAds.WebMVC
98.4 MB