Skip to content

[BMSPT-174] refactoring, JsonExtension static regex pattern #159

[BMSPT-174] refactoring, JsonExtension static regex pattern

[BMSPT-174] refactoring, JsonExtension static regex pattern #159

Triggered via push May 8, 2024 09:56
Status Success
Total duration 4m 22s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 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/Utils/JsonExtensions.cs#L87
Converting null literal or possible null value to non-nullable type.
Running tests: src/bcf-toolkit/Utils/JsonExtensions.cs#L78
Nullability of reference types in value of type 'Task<T?>' doesn't match target type 'Task<T>'.
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/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/tests/WorkerTests.cs#L17
Non-nullable field '_worker' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.