Skip to content

Add support for STJ-native inheritance schema generation, #1595 #126

Add support for STJ-native inheritance schema generation, #1595

Add support for STJ-native inheritance schema generation, #1595 #126

Triggered via push September 26, 2023 18:57
Status Failure
Total duration 7m 42s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 11 warnings
windows-latest
[xUnit.net 00:00:15.27] NJsonSchema.CodeGeneration.Tests.CSharp.NullableReferenceTypesTests.When_generating_from_json_schema_string_property_with_date_or_time_format_is_optional_and_GenerateNullableOptionalProperties_is_set_then_CSharp_property(format: "time-span") [FAIL]
windows-latest
[xUnit.net 00:00:15.27] NJsonSchema.CodeGeneration.Tests.CSharp.NullableReferenceTypesTests.When_generating_from_json_schema_string_property_with_date_or_time_format_is_optional_and_GenerateNullableOptionalProperties_is_set_then_CSharp_property(format: "date-time") [FAIL]
windows-latest
[xUnit.net 00:00:15.27] NJsonSchema.CodeGeneration.Tests.CSharp.NullableReferenceTypesTests.When_generating_from_json_schema_string_property_with_date_or_time_format_is_optional_and_GenerateNullableOptionalProperties_is_set_then_CSharp_property(format: "time") [FAIL]
windows-latest
[xUnit.net 00:00:15.27] NJsonSchema.CodeGeneration.Tests.CSharp.NullableReferenceTypesTests.When_generating_from_json_schema_string_property_with_date_or_time_format_is_optional_and_GenerateNullableOptionalProperties_is_set_then_CSharp_property(format: "date") [FAIL]
windows-latest
Target "Test" has thrown an exception
windows-latest
Process completed with exit code 1.
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
Solution "D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.sln" has active build configurations for the build project. Either enable SuppressBuildProjectCheck on "Build.Solution" or remove the following entries from the solution file: " - {8E4E5A64-B5B7-4718-A92F-CB6B08512264}.Debug|Any CPU.Build.0 = Debug|Any CPU - {8E4E5A64-B5B7-4718-A92F-CB6B08512264}.Debug|ARM.Build.0 = Debug|Any CPU - {8E4E5A64-B5B7-4718-A92F-CB6B08512264}.Debug|x64.Build.0 = Debug|Any CPU - {8E4E5A64-B5B7-4718-A92F-CB6B08512264}.Debug|x86.Build.0 = Debug|Any CPU - {8E4E5A64-B5B7-4718-A92F-CB6B08512264}.Release|Any CPU.Build.0 = Release|Any CPU - {8E4E5A64-B5B7-4718-A92F-CB6B08512264}.Release|ARM.Build.0 = Release|Any CPU - {8E4E5A64-B5B7-4718-A92F-CB6B08512264}.Release|x64.Build.0 = Release|Any CPU - {8E4E5A64-B5B7-4718-A92F-CB6B08512264}.Release|x86.Build.0 = Release|Any CPU"
windows-latest
C:\Program Files\dotnet\sdk\7.0.401\Microsoft.Common.CurrentVersion.targets(1842,5): warning NU1702: ProjectReference 'D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\NJsonSchema.Tests.csproj' was resolved using '.NETFramework,Version=v4.6.2' instead of the project target framework '.NETCoreApp,Version=v6.0'. This project may not be fully compatible with your project. [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Demo\NJsonSchema.Demo.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\build\Build.cs(53,13): warning CS0618: 'Logger.Info(string)' is obsolete: 'Use Serilog.Log.Information instead' [D:\a\NJsonSchema\NJsonSchema\build\_build.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\build\Build.cs(57,49): warning CS0618: 'TextTasks.ReadAllText(string, Encoding)' is obsolete: 'Use AbsolutePath.ReadAllText extension method' [D:\a\NJsonSchema\NJsonSchema\build\_build.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\build\Build.cs(59,13): warning CS0618: 'Logger.Info(string)' is obsolete: 'Use Serilog.Log.Information instead' [D:\a\NJsonSchema\NJsonSchema\build\_build.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\build\Build.cs(87,23): warning CS0612: 'Logger.Block(string)' is obsolete [D:\a\NJsonSchema\NJsonSchema\build\_build.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\build\Build.cs(88,9): warning CS0618: 'Logger.Info(string)' is obsolete: 'Use Serilog.Log.Information instead' [D:\a\NJsonSchema\NJsonSchema\build\_build.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\build\Build.cs(89,9): warning CS0618: 'Logger.Info(string)' is obsolete: 'Use Serilog.Log.Information instead' [D:\a\NJsonSchema\NJsonSchema\build\_build.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\build\Build.cs(90,9): warning CS0618: 'Logger.Info(string)' is obsolete: 'Use Serilog.Log.Information instead' [D:\a\NJsonSchema\NJsonSchema\build\_build.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\build\Build.cs(91,9): warning CS0618: 'Logger.Info(string)' is obsolete: 'Use Serilog.Log.Information instead' [D:\a\NJsonSchema\NJsonSchema\build\_build.csproj]