Skip to content

update ci yml

update ci yml #231

Triggered via push January 25, 2024 17:56
Status Failure
Total duration 2m 25s
Artifacts

master-ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
build-dotnet
Process completed with exit code 1.
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. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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.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.
build-dotnet: src/AgileConfig.Server.Data.Freesql/FreeSqlContext.cs#L11
Non-nullable property 'Configs' 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 'ServerNodes' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.