feat: Add Variation configuration section type and MaxLength field #1560
Annotations
11 warnings
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-java@v4, actions/setup-node@v4, VirtoCommerce/vc-github-actions/add-version-suffix@master, VirtoCommerce/vc-github-actions/changelog-generator@master, VirtoCommerce/vc-github-actions/get-image-version@master, VirtoCommerce/vc-github-actions/get-jira-keys@master, VirtoCommerce/vc-github-actions/publish-artifact-link@master, VirtoCommerce/vc-github-actions/publish-blob-release@master, VirtoCommerce/vc-github-actions/publish-jira-link@master, VirtoCommerce/vc-github-actions/setup-vcbuild@master, VirtoCommerce/vc-github-actions/sonar-quality-gate@master, VirtoCommerce/vc-github-actions/sonar-scanner-begin@master, VirtoCommerce/vc-github-actions/sonar-scanner-end@master. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Build
/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/ExportImport/CatalogExportImport.cs(579,29): warning S2583: Change this condition so that it does not always evaluate to 'False'. Some code paths are unreachable. [/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/VirtoCommerce.CatalogModule.Data.csproj]
|
|
Build
/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/ExportImport/CatalogExportImport.cs(377,28): warning S138: This method 'ImportCategoriesAsync' has 83 lines, which is greater than the 80 lines authorized. Split it into smaller methods. [/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/VirtoCommerce.CatalogModule.Data.csproj]
|
|
Build
/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/ExportImport/CatalogExportImport.cs(447,64): warning S109: Assign this magic number '50' to a well-named variable or constant, and use that instead. [/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/VirtoCommerce.CatalogModule.Data.csproj]
|
|
Build
/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/ExportImport/CatalogExportImport.cs(377,28): warning S1541: The Cyclomatic Complexity of this method is 19 which is greater than 10 authorized. [/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/VirtoCommerce.CatalogModule.Data.csproj]
|
|
Build
/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/ExportImport/CatalogExportImport.cs(377,28): warning S3776: Refactor this method to reduce its Cognitive Complexity from 36 to the 15 allowed. [/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/VirtoCommerce.CatalogModule.Data.csproj]
|
|
Build
/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/ExportImport/CatalogExportImport.cs(260,27): warning S1541: The Cyclomatic Complexity of this method is 15 which is greater than 10 authorized. [/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/VirtoCommerce.CatalogModule.Data.csproj]
|
|
Build
/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/ExportImport/CatalogExportImport.cs(72,27): warning S138: This method 'DoExportAsync' has 129 lines, which is greater than the 80 lines authorized. Split it into smaller methods. [/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/VirtoCommerce.CatalogModule.Data.csproj]
|
|
Build
/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/ExportImport/CatalogExportImport.cs(45,35): warning S107: Constructor has 19 parameters, which is greater than the 7 authorized. [/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Data/VirtoCommerce.CatalogModule.Data.csproj]
|
|
Build
/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Core/ModuleConstants.cs(232,36): warning S109: Assign this magic number '25' to a well-named variable or constant, and use that instead. [/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Core/VirtoCommerce.CatalogModule.Core.csproj]
|
|
Build
/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Core/ModuleConstants.cs(139,36): warning S109: Assign this magic number '5' to a well-named variable or constant, and use that instead. [/home/runner/work/vc-module-catalog/vc-module-catalog/src/VirtoCommerce.CatalogModule.Core/VirtoCommerce.CatalogModule.Core.csproj]
|
Loading