Fix(multilevelcache): fix injected by singleton to scope #1441
Triggered via pull request
September 18, 2024 09:27
Status
Failure
Total duration
9m 52s
Artifacts
–
pr_run_test_ci.yml
on: pull_request
redis on base image
9m 42s
Annotations
1 error and 14 warnings
redis on base image
Process completed with exit code 1.
|
redis on base image
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1, actions/setup-java@v1, actions/cache@v1, everpcpc/elasticsearch-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/
|
redis on base image
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-dotnet@v1, actions/setup-java@v1, actions/cache@v1, everpcpc/elasticsearch-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
redis on base image
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
redis on base image
.NET 7.0 is no longer supported and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the .NET support policy.
|
redis on base image:
src/Utils/Models/Masa.Utils.Models.Config/Paginated/PaginatedListBase.cs#L8
Do not forget to remove this deprecated code someday. (https://rules.sonarsource.com/csharp/RSPEC-1133)
|
redis on base image:
src/Utils/Caching/Masa.Utils.Caching.Memory/MemoryCache.cs#L8
Make '_dicCache' 'readonly'. (https://rules.sonarsource.com/csharp/RSPEC-2933)
|
redis on base image:
src/Utils/Caching/Masa.Utils.Caching.Memory/MemoryCache.cs#L6
Fix this implementation of 'IDisposable' to conform to the dispose pattern. (https://rules.sonarsource.com/csharp/RSPEC-3881)
|
redis on base image:
src/Utils/Caching/Masa.Utils.Caching.Memory/MemoryCache.cs#L14
Refactor 'Keys' into a method, properties should not copy collections. (https://rules.sonarsource.com/csharp/RSPEC-2365)
|
redis on base image:
src/Utils/Caching/Masa.Utils.Caching.Memory/MemoryCache.cs#L22
Refactor 'Values' into a method, properties should not copy collections. (https://rules.sonarsource.com/csharp/RSPEC-2365)
|
redis on base image:
src/Utils/Extensions/Masa.Utils.Extensions.DotNet/EnglishPluralizationService.cs#L367
Remove this empty comment (https://rules.sonarsource.com/csharp/RSPEC-4663)
|
redis on base image:
src/Utils/Extensions/Masa.Utils.Extensions.DotNet/EnglishPluralizationService.cs#L519
Remove this empty comment (https://rules.sonarsource.com/csharp/RSPEC-4663)
|
redis on base image:
src/Utils/Extensions/Masa.Utils.Extensions.DotNet/EnglishPluralizationService.cs#L730
Remove this empty comment (https://rules.sonarsource.com/csharp/RSPEC-4663)
|
redis on base image:
src/Utils/Extensions/Masa.Utils.Extensions.DotNet/EnglishPluralizationService.cs#L823
Remove this empty comment (https://rules.sonarsource.com/csharp/RSPEC-4663)
|
redis on base image:
src/Utils/Extensions/Masa.Utils.Extensions.DotNet/MethodInfoExtensions.cs#L14
Collection-specific "Exists" method should be used instead of the "Any" extension. (https://rules.sonarsource.com/csharp/RSPEC-6605)
|