Skip to content

Set ManagePackageVersionsCentrally=false for .NET9 compatibility #13

Set ManagePackageVersionsCentrally=false for .NET9 compatibility

Set ManagePackageVersionsCentrally=false for .NET9 compatibility #13

Triggered via pull request February 13, 2024 22:52
Status Failure
Total duration 4m 40s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
windows-latest
[xUnit.net 00:00:01.37] NJsonSchema.Tests.Generation.JsonSchemaTypeAttributeTests.When_type_of_array_properties_are_changed_then_the_schemas_are_correct [FAIL]
windows-latest
[xUnit.net 00:00:01.40] NJsonSchema.Tests.Generation.NullPropertyTests.When_NotNullAttribute_is_available_then_property_is_not_nullable [FAIL]
windows-latest
[xUnit.net 00:00:01.41] NJsonSchema.Tests.Generation.DataContractTests.When_DataContractRequired_is_set_property_is_nullable_in_OpenApi3 [FAIL]
windows-latest
[xUnit.net 00:00:01.47] NSwag.Core.Tests.Converters.JsonExceptionConverterTests.When_ArgumentException_is_thrown_then_it_is_serialized_with_all_properties [FAIL]
windows-latest
[xUnit.net 00:00:01.47] NSwag.Core.Tests.Converters.JsonExceptionConverterTests.When_ArgumentOutOfRangeException_is_thrown_then_it_is_serialized_with_all_properties [FAIL]
windows-latest
[xUnit.net 00:00:01.51] NSwag.Core.Tests.Converters.JsonExceptionConverterTests.When_custom_exception_is_serialized_then_everything_works [FAIL]
windows-latest
[xUnit.net 00:00:01.65] NJsonSchema.Tests.Validation.NullPropertyTests.When_object_property_can_be_null_then_null_is_allowed(schemaType: Swagger2) [FAIL]
windows-latest
[xUnit.net 00:00:01.65] NJsonSchema.Tests.Validation.NullPropertyTests.When_number_property_can_be_null_then_null_is_allowed(schemaType: Swagger2) [FAIL]
windows-latest
[xUnit.net 00:00:01.65] NJsonSchema.Tests.Validation.NullPropertyTests.When_number_property_can_be_null_then_null_is_allowed(schemaType: OpenApi3) [FAIL]
windows-latest
[xUnit.net 00:00:01.65] NJsonSchema.Tests.Validation.NullPropertyTests.When_enum_property_can_be_null_then_null_is_allowed(schemaType: Swagger2) [FAIL]
windows-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
windows-latest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema\Generation\SystemTextJsonUtilities.cs(46,37): warning CS0618: 'StringEnumConverter.StringEnumConverter(bool)' is obsolete: 'StringEnumConverter(bool) is obsolete. Create a converter with StringEnumConverter(NamingStrategy, bool) instead.' [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema\NJsonSchema.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema\Generation\SystemTextJsonUtilities.cs(46,37): warning CS0618: 'StringEnumConverter.StringEnumConverter(bool)' is obsolete: 'StringEnumConverter(bool) is obsolete. Create a converter with StringEnumConverter(NamingStrategy, bool) instead.' [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema\NJsonSchema.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Demo.Performance\Program.cs(15,35): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Demo.Performance\NJsonSchema.Demo.Performance.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Yaml.Tests\References\YamlReferencesTests.cs(12,18): warning CS1591: Missing XML comment for publicly visible type or member 'LocalReferencesTests' [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Yaml.Tests\NJsonSchema.Yaml.Tests.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Yaml.Tests\References\YamlReferencesTests.cs(19,27): warning CS1591: Missing XML comment for publicly visible type or member 'LocalReferencesTests.When_yaml_schema_has_references_it_works(string, string)' [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Yaml.Tests\NJsonSchema.Yaml.Tests.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Yaml.Tests\References\YamlReferencesTests.cs(36,27): warning CS1591: Missing XML comment for publicly visible type or member 'LocalReferencesTests.When_yaml_OpenAPI_spec_has_external_schema_refs_they_are_resolved(string, string, string)' [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Yaml.Tests\NJsonSchema.Yaml.Tests.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Yaml.Tests\References\YamlReferencesTests.cs(67,27): warning CS1591: Missing XML comment for publicly visible type or member 'LocalReferencesTests.When_yaml_OpenAPI_spec_has__relative_external_schema_refs_in_subdirs__they_are_resolved(string)' [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Yaml.Tests\NJsonSchema.Yaml.Tests.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\Generation\FlattenInheritanceHierarchyTests.cs(20,35): warning CS0108: 'FlattenInheritanceHierarchyTests.Teacher.Schedule' hides inherited member 'FlattenInheritanceHierarchyTests.Person.Schedule'. Use the new keyword if hiding was intended. [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\NJsonSchema.Tests.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\Generation\SchemaGenerationTests.cs(212,25): warning CS0169: The field 'SchemaGenerationTests.ClassWithPrivateDataMember2._myField' is never used [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\NJsonSchema.Tests.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\Validation\LineInformationTest.cs(18,27): warning xUnit1013: Public method 'InitAsync' on test class 'LineInformationTest' should be marked as a Fact. [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\NJsonSchema.Tests.csproj]