Skip to content

Use FrozenDictionary instead of Dictionary. #24

Use FrozenDictionary instead of Dictionary.

Use FrozenDictionary instead of Dictionary. #24

Triggered via pull request February 28, 2024 04:37
Status Success
Total duration 2m 31s
Artifacts

master-pr-ci.yml

on: pull_request
Matrix: build-reactapp
build-dotnet
42s
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.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/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.