Skip to content

Restores support for instance-based JSON serializer settings in a non-breaking way #708

Restores support for instance-based JSON serializer settings in a non-breaking way

Restores support for instance-based JSON serializer settings in a non-breaking way #708

Re-run triggered May 12, 2024 11:01
Status Failure
Total duration 7m 33s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 23 warnings
macos-latest
Testhost process for source(s) '/Users/runner/work/NSwag/NSwag/artifacts/bin/NSwag.Generation.AspNetCore.Tests/release_net6.0/NSwag.Generation.AspNetCore.Tests.dll' exited with error: You must install or update .NET to run this application.
macos-latest
App: /Users/runner/work/NSwag/NSwag/artifacts/bin/NSwag.Generation.AspNetCore.Tests/release_net6.0/testhost.dll
macos-latest
Architecture: arm64
macos-latest
Framework: 'Microsoft.NETCore.App', version '6.0.0' (arm64)
macos-latest
.NET location: /Users/runner/.dotnet/
macos-latest
The following frameworks were found:
macos-latest
7.0.2 at [/Users/runner/.dotnet/shared/Microsoft.NETCore.App]
macos-latest
7.0.4 at [/Users/runner/.dotnet/shared/Microsoft.NETCore.App]
macos-latest
7.0.9 at [/Users/runner/.dotnet/shared/Microsoft.NETCore.App]
macos-latest
7.0.18 at [/Users/runner/.dotnet/shared/Microsoft.NETCore.App]
ubuntu-latest
[xUnit.net 00:00:09.88] NSwag.ConsoleCore.Tests.GenerateSampleSpecificationTests.Should_generate_openapi_for_project(projectName: "NSwag.Sample.NET70Minimal", targetFramework: "net7.0", generatesCode: True) [FAIL]
ubuntu-latest
[xUnit.net 00:00:21.00] NSwag.ConsoleCore.Tests.GenerateSampleSpecificationTests.Should_generate_openapi_for_project(projectName: "NSwag.Sample.NET80Minimal", targetFramework: "net8.0", generatesCode: True) [FAIL]
ubuntu-latest
Target "Test" has thrown an exception
ubuntu-latest
Process completed with exit code 255.
windows-latest
[xUnit.net 00:00:15.38] NSwag.ConsoleCore.Tests.GenerateSampleSpecificationTests.Should_generate_openapi_for_project(projectName: "NSwag.Sample.NET70Minimal", targetFramework: "net7.0", generatesCode: True) [FAIL]
windows-latest
[xUnit.net 00:00:30.74] NSwag.ConsoleCore.Tests.GenerateSampleSpecificationTests.Should_generate_openapi_for_project(projectName: "NSwag.Sample.NET80Minimal", targetFramework: "net8.0", generatesCode: True) [FAIL]
windows-latest
Target "Test" has thrown an exception
windows-latest
Process completed with exit code 1.
macos-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ubuntu-latest
#pragma warning disable 108 // Disable "CS0108 '{derivedDto}.ToJson()' hides inherited member '{dtoBase}.ToJson()'. Use the new keyword if hiding was intended."
ubuntu-latest
#pragma warning disable 114 // Disable "CS0114 '{derivedDto}.RaisePropertyChanged(String)' hides inherited member 'dtoBase.RaisePropertyChanged(String)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword."
ubuntu-latest
#pragma warning disable 472 // Disable "CS0472 The result of the expression is always 'false' since a value of type 'Int32' is never equal to 'null' of type 'Int32?'
ubuntu-latest
#pragma warning disable 612 // Disable "CS0612 '...' is obsolete"
ubuntu-latest
#pragma warning disable 649 // Disable "CS0649 Field is never assigned to, and will always have its default value null"
ubuntu-latest
#pragma warning disable 1573 // Disable "CS1573 Parameter '...' has no matching param tag in the XML comment for ...
ubuntu-latest
#pragma warning disable 1591 // Disable "CS1591 Missing XML comment for publicly visible type or member ..."
ubuntu-latest
#pragma warning disable 8073 // Disable "CS8073 The result of the expression is always 'false' since a value of type 'T' is never equal to 'null' of type 'T?'"
ubuntu-latest
#pragma warning disable 3016 // Disable "CS3016 Arrays as attribute arguments is not CLS-compliant"
ubuntu-latest
#pragma warning disable 8603 // Disable "CS8603 Possible null reference return"
windows-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
windows-latest
D:\a\NSwag\NSwag\src\NSwagStudio.Installer\NSwagStudio.Installer.wixproj : warning NU1503: Skipping restore for project 'D:\a\NSwag\NSwag\src\NSwagStudio.Installer\NSwagStudio.Installer.wixproj'. The project file may be invalid or missing targets required for restore. [D:\a\NSwag\NSwag\src\NSwag.sln]
windows-latest
C:\Program Files\dotnet\sdk\8.0.204\Microsoft.Common.CurrentVersion.targets(2389,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "x86" and the processor architecture of the reference "D:\a\NSwag\NSwag\artifacts\bin\NSwag.AspNetCore.Launcher\release_net462\NSwag.AspNetCore.Launcher.exe", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [D:\a\NSwag\NSwag\src\NSwag.Console\NSwag.Console.csproj]
windows-latest
#pragma warning disable 108 // Disable "CS0108 '{derivedDto}.ToJson()' hides inherited member '{dtoBase}.ToJson()'. Use the new keyword if hiding was intended."
windows-latest
#pragma warning disable 114 // Disable "CS0114 '{derivedDto}.RaisePropertyChanged(String)' hides inherited member 'dtoBase.RaisePropertyChanged(String)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword."
windows-latest
#pragma warning disable 472 // Disable "CS0472 The result of the expression is always 'false' since a value of type 'Int32' is never equal to 'null' of type 'Int32?'
windows-latest
#pragma warning disable 612 // Disable "CS0612 '...' is obsolete"
windows-latest
#pragma warning disable 649 // Disable "CS0649 Field is never assigned to, and will always have its default value null"
windows-latest
#pragma warning disable 1573 // Disable "CS1573 Parameter '...' has no matching param tag in the XML comment for ...
windows-latest
#pragma warning disable 1591 // Disable "CS1591 Missing XML comment for publicly visible type or member ..."
windows-latest
#pragma warning disable 8073 // Disable "CS8073 The result of the expression is always 'false' since a value of type 'T' is never equal to 'null' of type 'T?'"