Publish nuget #14
publish-nugets.yml
on: workflow_dispatch
test
/
test-and-sonar
1m 41s
build
/
build-artifacts
43s
publish-nuget
/
publish-github
28s
Annotations
14 warnings
build / build-artifacts
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/setup-java@v3, VirtoCommerce/vc-github-actions/setup-vcbuild@master, actions/checkout@v3, VirtoCommerce/vc-github-actions/get-image-version@master, VirtoCommerce/vc-github-actions/add-version-suffix@master, VirtoCommerce/vc-github-actions/cache-get-key@master, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build / build-artifacts
/usr/share/dotnet/sdk/8.0.101/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets(203,6): warning : This project cannot be packaged because packaging has been disabled. Add <IsPackable>true</IsPackable> to the project file to enable producing a package from this project. [/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Web/VirtoCommerce.ProfileExperienceApiModule.Web.csproj]
|
test / test-and-sonar
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/setup-java@v3, VirtoCommerce/vc-github-actions/setup-vcbuild@master, actions/checkout@v3, VirtoCommerce/vc-github-actions/get-image-version@master, VirtoCommerce/vc-github-actions/add-version-suffix@master, VirtoCommerce/vc-github-actions/sonar-scanner-begin@master, VirtoCommerce/vc-github-actions/sonar-scanner-end@master, VirtoCommerce/vc-github-actions/sonar-quality-gate@master. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test / test-and-sonar
/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/Schemas/ProfileSchema.cs(250,1): warning S103: Split this 350 characters long line (which is greater than 300 authorized). (https://rules.sonarsource.com/csharp/RSPEC-103) [/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/VirtoCommerce.ProfileExperienceApiModule.Data.csproj]
|
test / test-and-sonar
/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/Authorization/ProfileAuthorizationHandler.cs(31,39): warning S3776: Refactor this method to reduce its Cognitive Complexity from 28 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776) [/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/VirtoCommerce.ProfileExperienceApiModule.Data.csproj]
|
test / test-and-sonar
/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/Authorization/ProfileAuthorizationHandler.cs(31,39): warning S1541: The Cyclomatic Complexity of this method is 30 which is greater than 10 authorized. (https://rules.sonarsource.com/csharp/RSPEC-1541) [/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/VirtoCommerce.ProfileExperienceApiModule.Data.csproj]
|
test / test-and-sonar
/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/Authorization/ProfileAuthorizationHandler.cs(31,39): warning S138: This method 'HandleRequirementAsync' has 135 lines, which is greater than the 80 lines authorized. Split it into smaller methods. (https://rules.sonarsource.com/csharp/RSPEC-138) [/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/VirtoCommerce.ProfileExperienceApiModule.Data.csproj]
|
test / test-and-sonar
/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/Schemas/VendorType.cs(14,12): warning S1541: The Cyclomatic Complexity of this constructor is 12 which is greater than 10 authorized. (https://rules.sonarsource.com/csharp/RSPEC-1541) [/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/VirtoCommerce.ProfileExperienceApiModule.Data.csproj]
|
test / test-and-sonar
/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/Commands/InviteUserCommandHandler.cs(51,59): warning S3776: Refactor this method to reduce its Cognitive Complexity from 29 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776) [/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/VirtoCommerce.ProfileExperienceApiModule.Data.csproj]
|
test / test-and-sonar
/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/Commands/InviteUserCommandHandler.cs(51,59): warning S1541: The Cyclomatic Complexity of this method is 11 which is greater than 10 authorized. (https://rules.sonarsource.com/csharp/RSPEC-1541) [/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/VirtoCommerce.ProfileExperienceApiModule.Data.csproj]
|
test / test-and-sonar
/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/Commands/InviteUserCommandHandler.cs(91,25): warning S134: Refactor this code to not nest more than 3 control flow statements. (https://rules.sonarsource.com/csharp/RSPEC-134) [/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/VirtoCommerce.ProfileExperienceApiModule.Data.csproj]
|
test / test-and-sonar
/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/Commands/ChangeOrganizationContactRoleCommandHandler.cs(68,13): warning S2259: 'user' is null on at least one execution path. (https://rules.sonarsource.com/csharp/RSPEC-2259) [/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/VirtoCommerce.ProfileExperienceApiModule.Data.csproj]
|
test / test-and-sonar
/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/Extensions/MemberExtensions.cs(18,64): warning S109: Assign this magic number '20' to a well-named variable or constant, and use that instead. (https://rules.sonarsource.com/csharp/RSPEC-109) [/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/VirtoCommerce.ProfileExperienceApiModule.Data.csproj]
|
publish-nuget / publish-github
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: VirtoCommerce/vc-github-actions/setup-vcbuild@master, actions/checkout@v3, actions/cache@v3, VirtoCommerce/vc-github-actions/publish-nuget@master. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|