Skip to content

vitest corrections #1499

vitest corrections

vitest corrections #1499

Triggered via pull request April 30, 2024 06:57
Status Success
Total duration 12m 48s
Artifacts

ci-cd-pims-dev.yml

on: pull_request_target
CI-CD Start Notification to Teams Channel
7s
CI-CD Start Notification to Teams Channel
Deploy frontend and api to OpenShift
2m 9s
Deploy frontend and api to OpenShift
Upgrade database
1m 12s
Upgrade database
CI-CD End Notification to Teams Channel
7s
CI-CD End Notification to Teams Channel
Fit to window
Zoom out
Zoom in

Annotations

18 warnings
CI-CD Start Notification to Teams Channel
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: dragos-cojocari/ms-teams-notification@v1.0.2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build frontend
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build api
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Deploy frontend and api to OpenShift
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Upgrade database
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
sync mayan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Sync Keycloak
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Sync Keycloak: source/backend/core/Exceptions/BusinessRuleViolationException.cs#L51
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
Sync Keycloak: source/backend/core/Exceptions/DuplicateEntityException.cs#L51
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
Sync Keycloak: source/backend/core/Exceptions/ForeignKeyDependencyException.cs#L27
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
Sync Keycloak: source/backend/core/Exceptions/ConfigurationException.cs#L51
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
Sync Keycloak: source/backend/core/Exceptions/ContractorNotInTeamException.cs#L27
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
Sync Keycloak: source/backend/core/Json/NullJsonResultFilter.cs#L5
Remove this unnecessary 'using'. (https://rules.sonarsource.com/csharp/RSPEC-1128)
Sync Keycloak: source/backend/core/Extensions/QueryableExtensions.cs#L19
Make sure that this accessibility bypass is safe here. (https://rules.sonarsource.com/csharp/RSPEC-3011)
Sync Keycloak: source/backend/core/Json/NullJsonResultFilter.cs#L20
Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation. (https://rules.sonarsource.com/csharp/RSPEC-1186)
Sync Keycloak: source/backend/core/Extensions/QueryableExtensions.cs#L163
Prefer using 'string.Equals(string, StringComparison)' to perform a case-insensitive comparison, but keep in mind that this might cause subtle changes in behavior, so make sure to conduct thorough testing after applying the suggestion, or if culturally sensitive comparison is not required, consider using 'StringComparison.OrdinalIgnoreCase' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1862)
CI-CD End Notification to Teams Channel
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: dragos-cojocari/ms-teams-notification@v1.0.2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.