Skip to content

Fix the failed test after dotnet format #57

Fix the failed test after dotnet format

Fix the failed test after dotnet format #57

Triggered via push October 19, 2024 09:11
Status Failure
Total duration 3m 21s
Artifacts 3

build.yml

on: push
Matrix: Build MsSqlMigratorUtility
Matrix: Build artifacts
Matrix: Build Docker images
Check for failures
9s
Check for failures
Fit to window
Zoom out
Zoom in

Annotations

1 error and 27 warnings
Testing
HttpError: Resource not accessible by integration
CLOC
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build MsSqlMigratorUtility (osx-x64)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c, actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build MsSqlMigratorUtility (linux-x64)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c, actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build MsSqlMigratorUtility (win-x64)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c, actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Testing
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-dotnet@9211491ffb35dd6a6657ca4f45d43dfe6e97c829, actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c, dorny/test-reporter@c9b3d0e2bd2a4e96aaf424dbaa31c46b42318226. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Testing: src/Core/Tools/Models/Business/ReferenceEvent.cs#L72
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Testing: src/Infrastructure.EntityFramework/Repositories/OrganizationDomainRepository.cs#L108
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Testing: src/Infrastructure.EntityFramework/Repositories/DatabaseContextExtensions.cs#L68
The result of the expression is always 'true' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'
Testing: src/Infrastructure.EntityFramework/Repositories/DatabaseContextExtensions.cs#L67
The result of the expression is always 'true' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'
Testing: src/Infrastructure.EntityFramework/Vault/Repositories/Queries/CipherReadCanEditByIdUserIdQuery.cs#L63
The result of the expression is always 'true' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'
Testing: src/Infrastructure.EntityFramework/Vault/Repositories/Queries/CipherReadCanEditByIdUserIdQuery.cs#L63
The result of the expression is always 'true' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'
Testing: src/Infrastructure.EntityFramework/Repositories/CollectionCipherRepository.cs#L197
The result of the expression is always 'false' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'
Testing: src/Infrastructure.EntityFramework/Repositories/Queries/UserCollectionDetailsQuery.cs#L46
The result of the expression is always 'true' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'
Testing: src/Infrastructure.EntityFramework/Repositories/Queries/UserCollectionDetailsQuery.cs#L46
The result of the expression is always 'true' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'
Testing: src/Infrastructure.EntityFramework/Repositories/Queries/CollectionCipherReadByUserIdQuery.cs#L46
The result of the expression is always 'true' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'
Testing: src/Core/Tools/Models/Business/ReferenceEvent.cs#L72
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Testing: src/Infrastructure.EntityFramework/Repositories/DatabaseContextExtensions.cs#L68
The result of the expression is always 'true' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'
Testing: src/Infrastructure.EntityFramework/Repositories/DatabaseContextExtensions.cs#L67
The result of the expression is always 'true' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'
Testing: src/Infrastructure.EntityFramework/Repositories/OrganizationDomainRepository.cs#L108
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Testing: src/Infrastructure.EntityFramework/Vault/Repositories/Queries/CipherReadCanEditByIdUserIdQuery.cs#L63
The result of the expression is always 'true' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'
Testing: src/Infrastructure.EntityFramework/Vault/Repositories/Queries/CipherReadCanEditByIdUserIdQuery.cs#L63
The result of the expression is always 'true' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'
Testing: src/Infrastructure.EntityFramework/Repositories/Queries/UserCollectionDetailsQuery.cs#L46
The result of the expression is always 'true' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'
Testing: src/Infrastructure.EntityFramework/Repositories/Queries/UserCollectionDetailsQuery.cs#L46
The result of the expression is always 'true' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'
Testing: src/Infrastructure.EntityFramework/Repositories/CollectionCipherRepository.cs#L197
The result of the expression is always 'false' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'
Testing: src/Infrastructure.EntityFramework/Repositories/Queries/UserBumpAccountRevisionDateByCipherIdQuery.cs#L50
The result of the expression is always 'true' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "MsSqlMigratorUtility-linux-x64", "MsSqlMigratorUtility-osx-x64", "MsSqlMigratorUtility-win-x64". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
MsSqlMigratorUtility-linux-x64
119 MB
MsSqlMigratorUtility-osx-x64
119 MB
MsSqlMigratorUtility-win-x64
127 MB