Skip to content

Update server presence when server down #16

Update server presence when server down

Update server presence when server down #16

Triggered via pull request October 29, 2023 14:34
Status Success
Total duration 46s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: Settings/ServerApiSettings.cs#L5
Non-nullable property 'Url' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Settings/ServerApiSettings.cs#L6
Non-nullable property 'Username' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Settings/ServerApiSettings.cs#L7
Non-nullable property 'Password' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Settings/DiscordSettings.cs#L32
Non-nullable property 'Token' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Settings/DiscordSettings.cs#L34
Non-nullable property 'Roles' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Settings/DiscordSettings.cs#L35
Non-nullable property 'Channels' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Program.cs#L33
The type 'app.Services.RunnerService?' cannot be used as type parameter 'THostedService' in the generic type or method 'ServiceCollectionHostedServiceExtensions.AddHostedService<THostedService>(IServiceCollection, Func<IServiceProvider, THostedService>)'. Nullability of type argument 'app.Services.RunnerService?' doesn't match 'class' constraint.
build: Program.cs#L33
The type 'app.Services.RunnerService?' cannot be used as type parameter 'THostedService' in the generic type or method 'ServiceCollectionHostedServiceExtensions.AddHostedService<THostedService>(IServiceCollection, Func<IServiceProvider, THostedService>)'. Nullability of type argument 'app.Services.RunnerService?' doesn't match constraint type 'Microsoft.Extensions.Hosting.IHostedService'.
build: Program.cs#L33
Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<IServiceProvider, RunnerService?>' (possibly because of nullability attributes).
build: Program.cs#L48
Dereference of a possibly null reference.