Skip to content

Added packages to workflow for dotnet #15

Added packages to workflow for dotnet

Added packages to workflow for dotnet #15

Triggered via push November 12, 2024 10:08
Status Failure
Total duration 57s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 21 warnings
test
Process completed with exit code 4.
build: C#api/models/warehouses.cs#L36
Non-nullable field 'data' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: C#api/processors/notification_processor.cs#L15
Nullability of reference types in type of parameter 'source' of 'void NotificationSystem.OnTimedEvent(object source, ElapsedEventArgs e)' doesn't match the target delegate 'ElapsedEventHandler' (possibly because of nullability attributes).
build: C#api/ApiRequestHandler.cs#L14
Converting null literal or possible null value to non-nullable type.
build: C#api/ApiRequestHandler.cs#L15
Possible null reference argument for parameter 'apiKey' in 'User AuthProvider.GetUser(string apiKey)'.
build: C#api/ApiRequestHandler.cs#L26
Dereference of a possibly null reference.
build: C#api/processors/notification_processor.cs#L29
Converting null literal or possible null value to non-nullable type.
build: C#api/processors/notification_processor.cs#L9
Non-nullable field '_timer' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: C#api/providers/auth_provider.cs#L48
Possible null reference return.
build: C#api/models/warehouses.cs#L50
Possible null reference return.
build: C#api/models/warehouses.cs#L110
Possible null reference assignment.
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test: C#api/models/warehouses.cs#L36
Non-nullable field 'data' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
test: C#api/processors/notification_processor.cs#L15
Nullability of reference types in type of parameter 'source' of 'void NotificationSystem.OnTimedEvent(object source, ElapsedEventArgs e)' doesn't match the target delegate 'ElapsedEventHandler' (possibly because of nullability attributes).
test: C#api/ApiRequestHandler.cs#L14
Converting null literal or possible null value to non-nullable type.
test: C#api/ApiRequestHandler.cs#L15
Possible null reference argument for parameter 'apiKey' in 'User AuthProvider.GetUser(string apiKey)'.
test: C#api/ApiRequestHandler.cs#L26
Dereference of a possibly null reference.
test: C#api/processors/notification_processor.cs#L29
Converting null literal or possible null value to non-nullable type.
test: C#api/processors/notification_processor.cs#L9
Non-nullable field '_timer' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
test: C#api/providers/auth_provider.cs#L48
Possible null reference return.
test: C#api/models/warehouses.cs#L50
Possible null reference return.
test: C#api/models/warehouses.cs#L110
Possible null reference assignment.