Skip to content

feat: Switch NetRunner from IHostBuilder to WebApplicationBuilder #155

feat: Switch NetRunner from IHostBuilder to WebApplicationBuilder

feat: Switch NetRunner from IHostBuilder to WebApplicationBuilder #155

Triggered via push September 21, 2024 14:08
Status Success
Total duration 1m 3s
Artifacts

dotnet-build.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

22 warnings
build (Debug)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (Debug): src/YumeChan.Core/Services/Config/JsonWritableConfig.cs#L16
Nullability of reference types in return type of 'string? JsonWritableConfig.CurrentPrefix.get' doesn't match implicitly implemented member 'string IWritableConfiguration.CurrentPrefix.get' (possibly because of nullability attributes).
build (Debug): src/YumeChan.Core/Services/Config/JsonWritableConfig.cs#L296
Nullability of reference types in return type of 'IChangeToken? JsonWritableConfig.GetReloadToken()' doesn't match implicitly implemented member 'IChangeToken IConfiguration.GetReloadToken()' (possibly because of nullability attributes).
build (Debug): src/YumeChan.Core/Infrastructure/SlashCommands/SlashCommandsExtensions.cs#L61
Cannot convert null literal to non-nullable reference type.
build (Debug): src/YumeChan.Core/CommandHandler.cs#L143
The given expression never matches the provided pattern.
build (Debug): src/YumeChan.Core/Services/Config/InterfaceWritableConfigWrapper.cs#L22
Non-nullable property 'Instance' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build (Debug): src/YumeChan.Core/Services/Config/JsonConfigProvider.cs#L40
Possible null reference argument for parameter 'root' in 'PhysicalFileProvider.PhysicalFileProvider(string root)'.
build (Debug): src/YumeChan.Core/Services/Config/JsonConfigProvider.cs#L79
Converting null literal or possible null value to non-nullable type.
build (Debug): src/YumeChan.Core/Services/Config/JsonConfigProvider.cs#L83
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'.
build (Release)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (Release): src/YumeChan.Core/Services/Config/JsonWritableConfig.cs#L16
Nullability of reference types in return type of 'string? JsonWritableConfig.CurrentPrefix.get' doesn't match implicitly implemented member 'string IWritableConfiguration.CurrentPrefix.get' (possibly because of nullability attributes).
build (Release): src/YumeChan.Core/Services/Config/JsonWritableConfig.cs#L296
Nullability of reference types in return type of 'IChangeToken? JsonWritableConfig.GetReloadToken()' doesn't match implicitly implemented member 'IChangeToken IConfiguration.GetReloadToken()' (possibly because of nullability attributes).
build (Release): src/YumeChan.Core/Infrastructure/SlashCommands/SlashCommandsExtensions.cs#L61
Cannot convert null literal to non-nullable reference type.
build (Release): src/YumeChan.Core/Services/Config/InterfaceWritableConfigWrapper.cs#L22
Non-nullable property 'Instance' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build (Release): src/YumeChan.Core/Services/Config/JsonConfigProvider.cs#L40
Possible null reference argument for parameter 'root' in 'PhysicalFileProvider.PhysicalFileProvider(string root)'.
build (Release): src/YumeChan.Core/Services/Config/JsonConfigProvider.cs#L79
Converting null literal or possible null value to non-nullable type.
build (Release): src/YumeChan.Core/Services/Config/JsonConfigProvider.cs#L83
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'.
build (Release): src/YumeChan.Core/Services/Config/JsonConfigProvider.cs#L86
Possible null reference argument for parameter 'path' in 'StreamWriter File.CreateText(string path)'.