Skip to content

将RestClient 以及Service 中不需要await 的代码直接返回Task #22

将RestClient 以及Service 中不需要await 的代码直接返回Task

将RestClient 以及Service 中不需要await 的代码直接返回Task #22

Re-run triggered February 6, 2024 03:21
Status Success
Total duration 2m 36s
Artifacts

master-pr-ci.yml

on: pull_request
Matrix: build-reactapp
build-dotnet
43s
build-dotnet
Fit to window
Zoom out
Zoom in

Annotations

14 warnings
build-reactapp (16.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-reactapp (16.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. 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
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-dotnet@v1. 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/checkout@v2, actions/setup-dotnet@v1. 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#L49
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.