Skip to content

Generate GenerateAutomaticInterfaceAttribute #51

Generate GenerateAutomaticInterfaceAttribute

Generate GenerateAutomaticInterfaceAttribute #51

Triggered via pull request April 16, 2024 10:02
Status Failure
Total duration 35s
Artifacts

action.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 13 warnings
Check Formatting
Process completed with exit code 1.
Check Formatting
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Check Formatting
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test: AutomaticInterface/TestNuget/Test.cs#L5
'GenerateAutomaticInterfaceAttribute' is obsolete: 'This attribute is obsolete. Use generated attribute instead.'
test: AutomaticInterface/AutomaticInterfaceExample/DemoClass.cs#L51
Nullability of reference types in value of type 'Task<string>' doesn't match target type 'Task<string?>'.
test: AutomaticInterface/AutomaticInterfaceExample/DemoClass.cs#L21
Non-nullable property 'Hello' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
test: AutomaticInterface/AutomaticInterfaceExample/DemoClass.cs#L23
Non-nullable property 'OnlyGet' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
test: AutomaticInterface/AutomaticInterfaceExample/DemoClass.cs#L65
Non-nullable event 'ShapeChanged' must contain a non-null value when exiting constructor. Consider declaring the event as nullable.
test: AutomaticInterface/AutomaticInterfaceExample/DemoClass.cs#L70
Non-nullable event 'ShapeChanged2' must contain a non-null value when exiting constructor. Consider declaring the event as nullable.
test: AutomaticInterface/AutomaticInterfaceExample/DemoClass.cs#L76
Non-nullable event 'ShapeChangedNullable2' must contain a non-null value when exiting constructor. Consider declaring the event as nullable.
test: AutomaticInterface/AutomaticInterfaceExample/DemoClass.cs#L70
The event 'DemoClass.ShapeChanged2' is never used
test: AutomaticInterface/AutomaticInterfaceExample/DemoClass.cs#L76
The event 'DemoClass.ShapeChangedNullable2' is never used
test: AutomaticInterface/AutomaticInterfaceExample/DemoClass.cs#L74
The event 'DemoClass.ShapeChangedNullable' is never used