Skip to content

Update test case;

Update test case; #235

Triggered via push January 25, 2024 18:33
Status Failure
Total duration 2m 21s
Artifacts

master-ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 12 warnings
build-dotnet
Unable to find any artifacts for the associated workflow
build-dotnet
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3, actions/download-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-dotnet
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/download-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build-dotnet: src/AgileConfig.Server.Data.Abstraction/DbConfig/DbConfigInfoFactory.cs#L45
Converting null literal or possible null value to non-nullable type.
build-dotnet: test/AgileConfig.Server.Data.AbstractionTests/DbConfig/DbConfigInfoFactoryTests.cs#L27
Argument of type 'Dictionary<string, string>' cannot be used for parameter 'initialData' of type 'IEnumerable<KeyValuePair<string, string?>>' in 'IConfigurationBuilder MemoryConfigurationBuilderExtensions.AddInMemoryCollection(IConfigurationBuilder configurationBuilder, IEnumerable<KeyValuePair<string, string?>>? initialData)' due to differences in the nullability of reference types.
build-dotnet: src/AgileConfig.Server.Data.Mongodb/MongodbRepository.cs#L18
Possible null reference return.
build-dotnet: src/AgileConfig.Server.Data.Mongodb/MongodbRepository.cs#L188
Possible null reference return.
build-dotnet: src/AgileConfig.Server.Data.Freesql/FreesqlRepository.cs#L26
Dereference of a possibly null reference.
build-dotnet: src/AgileConfig.Server.Data.Freesql/FreesqlRepository.cs#L30
Non-nullable field '_uow' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build-dotnet: src/AgileConfig.Server.Data.Freesql/FreesqlRepository.cs#L58
Dereference of a possibly null reference.
build-dotnet: src/AgileConfig.Server.Data.Freesql/FreesqlRepository.cs#L58
Nullability of reference types in value of type 'Task<T>' doesn't match target type 'Task<T?>'.
build-dotnet: src/AgileConfig.Server.Data.Freesql/FreeSqlContext.cs#L11
Non-nullable property 'Freesql' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-dotnet: src/AgileConfig.Server.Data.Freesql/FreeSqlContext.cs#L11
Non-nullable property 'Apps' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.