Skip to content

Set ManagePackageVersionsCentrally=false for .NET9 compatibility (#11) #9

Set ManagePackageVersionsCentrally=false for .NET9 compatibility (#11)

Set ManagePackageVersionsCentrally=false for .NET9 compatibility (#11) #9

Triggered via push February 14, 2024 00:44
Status Failure
Total duration 4m 37s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
windows-latest
[xUnit.net 00:00:02.91] NJsonSchema.CodeGeneration.Tests.CSharp.NullableEnumTests.When_Swagger2_enum_property_is_not_required_then_it_is_nullable [FAIL]
windows-latest
[xUnit.net 00:00:02.92] NJsonSchema.CodeGeneration.Tests.CSharp.ValueGeneratorTests.When_property_is_integer_and_no_format_is_available_then_default_value_is_int32 [FAIL]
windows-latest
[xUnit.net 00:00:02.92] NJsonSchema.CodeGeneration.Tests.CSharp.ValueGeneratorTests.When_property_is_string_and_format_is_date_time_then_assign_default_value [FAIL]
windows-latest
[xUnit.net 00:00:02.96] NSwag.Core.Tests.Converters.JsonExceptionConverterTests.When_ArgumentException_is_thrown_then_it_is_serialized_with_all_properties [FAIL]
windows-latest
[xUnit.net 00:00:03.08] NJsonSchema.CodeGeneration.Tests.CSharp.AllOfTests.When_more_properties_are_defined_in_allOf_and_type_none_then_all_of_contains_all_properties_in_generated_code [FAIL]
windows-latest
[xUnit.net 00:00:03.06] NSwag.Core.Tests.Converters.JsonExceptionConverterTests.When_ArgumentOutOfRangeException_is_thrown_then_it_is_serialized_with_all_properties [FAIL]
windows-latest
[xUnit.net 00:00:03.06] NJsonSchema.Tests.Validation.NullPropertyTests.When_object_property_can_be_null_then_null_is_allowed(schemaType: Swagger2) [FAIL]
windows-latest
[xUnit.net 00:00:03.06] NJsonSchema.Tests.Validation.NullPropertyTests.When_number_property_can_be_null_then_null_is_allowed(schemaType: Swagger2) [FAIL]
windows-latest
[xUnit.net 00:00:03.06] NJsonSchema.Tests.Validation.NullPropertyTests.When_number_property_can_be_null_then_null_is_allowed(schemaType: OpenApi3) [FAIL]
windows-latest
[xUnit.net 00:00:03.07] 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.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\References\LocalReferencesTests.cs(187,28): warning SYSLIB0012: 'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' [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]
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]