Skip to content

[BMSPT-174] refactoring, fixed comments, added project info conversion #157

[BMSPT-174] refactoring, fixed comments, added project info conversion

[BMSPT-174] refactoring, fixed comments, added project info conversion #157

Triggered via push May 7, 2024 13:49
Status Failure
Total duration 57s
Artifacts

main.yml

on: push
Running tests
49s
Running tests
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
Running tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Running tests
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
Running tests: src/bcf-toolkit/InputArguments.cs#L52
Possible null reference argument for parameter 'sourcePath' in 'InputArguments.InputArguments(string sourcePath, string target, string targetVersion)'.
Running tests: src/bcf-toolkit/InputArguments.cs#L53
Possible null reference argument for parameter 'target' in 'InputArguments.InputArguments(string sourcePath, string target, string targetVersion)'.
Running tests: src/bcf-toolkit/InputArguments.cs#L54
Possible null reference argument for parameter 'targetVersion' in 'InputArguments.InputArguments(string sourcePath, string target, string targetVersion)'.
Running tests: src/bcf-toolkit/Model/BcfVersionEnum.cs#L19
The switch expression does not handle some values of its input type (it is not exhaustive) involving an unnamed enum value. For example, the pattern '(BcfToolkit.Model.BcfVersionEnum)2' is not covered.
Running tests: src/bcf-toolkit/Model/Bcf30/Bcf.cs#L6
Non-nullable property 'Extensions' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Running tests: src/bcf-toolkit/Utils/JsonExtensions.cs#L47
Dereference of a possibly null reference.
Running tests: src/bcf-toolkit/Model/Bcf30/Root.cs#L9
Non-nullable property 'Extensions' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Running tests: src/bcf-toolkit/Utils/JsonExtensions.cs#L85
Converting null literal or possible null value to non-nullable type.
Running tests: src/bcf-toolkit/Utils/JsonExtensions.cs#L76
Nullability of reference types in value of type 'Task<T?>' doesn't match target type 'Task<T>'.
Running tests: src/tests/WorkerTests.cs#L17
Non-nullable field '_worker' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.