Skip to content

chore: update code check #1443

chore: update code check

chore: update code check #1443

Triggered via pull request September 20, 2024 01:34
Status Success
Total duration 10m 26s
Artifacts

pr_run_test_ci.yml

on: pull_request
redis on base image
10m 17s
redis on base image
Fit to window
Zoom out
Zoom in

Annotations

14 warnings
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/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/BuildingBlocks/Data/Masa.BuildingBlocks.Data.Contracts/Enumeration.cs#L65
Possible null reference argument for parameter 'left' in 'bool Enumeration.operator ==(Enumeration left, Enumeration right)'.
redis on base image: src/BuildingBlocks/Data/Masa.BuildingBlocks.Data.Contracts/Enumeration.cs#L65
Cannot convert null literal to non-nullable reference type.
redis on base image: src/BuildingBlocks/Data/Masa.BuildingBlocks.Data.Contracts/Enumeration.cs#L9
When implementing IComparable, you should also override <= and >=. (https://rules.sonarsource.com/csharp/RSPEC-1210)
redis on base image: src/BuildingBlocks/Data/Masa.BuildingBlocks.Data.Contracts/Enumeration.cs#L36
Change this condition so that it does not always evaluate to 'False'. Some code paths are unreachable. (https://rules.sonarsource.com/csharp/RSPEC-2583)