Update Liquid framework for net8, and standardize all cartridge configuration injections to use IOptions. #40
liquid-ci-cd-repository-mongodb.yml
on: pull_request
call-reusable-build-workflow
/
build
1m 42s
Annotations
13 warnings
call-reusable-build-workflow / build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-java@v3, actions/setup-dotnet@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
call-reusable-build-workflow / build:
src/Liquid.Repository.Mongo/Exceptions/MongoException.cs#L14
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. Add a 'protected' constructor 'MongoException(SerializationInfo, StreamingContext)'. (https://rules.sonarsource.com/csharp/RSPEC-3925)
|
call-reusable-build-workflow / build:
src/Liquid.Repository.Mongo/Exceptions/MongoEntitySettingsDoesNotExistException.cs#L14
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. Add a 'protected' constructor 'MongoEntitySettingsDoesNotExistException(SerializationInfo, StreamingContext)'. (https://rules.sonarsource.com/csharp/RSPEC-3925)
|
call-reusable-build-workflow / build:
src/Liquid.Repository.Mongo/MongoRepository.cs#L53
Remove this unnecessary check for null. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
call-reusable-build-workflow / build:
src/Liquid.Repository.Mongo/MongoRepository.cs#L62
Remove this unnecessary check for null. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
call-reusable-build-workflow / build:
src/Liquid.Repository.Mongo/MongoRepository.cs#L72
Remove this unnecessary check for null. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
call-reusable-build-workflow / build:
src/Liquid.Repository.Mongo/MongoRepository.cs#L82
Remove this unnecessary check for null. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
call-reusable-build-workflow / build:
src/Liquid.Repository.Mongo/MongoRepository.cs#L73
Await SingleOrDefaultAsync instead. (https://rules.sonarsource.com/csharp/RSPEC-6966)
|
call-reusable-build-workflow / build:
src/Liquid.Repository.Mongo/MongoClientFactory.cs#L31
"Find" method should be used instead of the "FirstOrDefault" extension method. (https://rules.sonarsource.com/csharp/RSPEC-6602)
|
call-reusable-build-workflow / build:
src/Liquid.Repository.Mongo/MongoRepository.cs#L90
Remove this unnecessary check for null. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
call-reusable-build-workflow / build:
src/Liquid.Repository.Mongo/MongoRepository.cs#L99
Remove this unnecessary check for null. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
call-reusable-build-workflow / build
.NET Core 3.1 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.
|
call-reusable-build-workflow / build
.NET 5.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.
|