Skip to content

Fix TypeScript enum default generation in StringLiteral mode #159

Fix TypeScript enum default generation in StringLiteral mode

Fix TypeScript enum default generation in StringLiteral mode #159

Re-run triggered July 27, 2023 06:07
Status Failure
Total duration 7m 17s
Artifacts

pr.yml

on: pull_request
windows-latest
7m 0s
windows-latest
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 11 warnings
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.CodeGeneration.TypeScript.Tests\TypeScriptGeneratorTests.cs(150,30): error CS8652: The feature 'raw string literals' is currently in Preview and *unsupported*. To use Preview features, use the 'preview' language version. [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.CodeGeneration.TypeScript.Tests\NJsonSchema.CodeGeneration.TypeScript.Tests.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.CodeGeneration.TypeScript.Tests\TypeScriptGeneratorTests.cs(150,30): error CS8652: The feature 'raw string literals' is currently in Preview and *unsupported*. To use Preview features, use the 'preview' language version. [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.CodeGeneration.TypeScript.Tests\NJsonSchema.CodeGeneration.TypeScript.Tests.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.CodeGeneration.TypeScript.Tests\TypeScriptGeneratorTests.cs(150,30): error CS8652: The feature 'raw string literals' is currently in Preview and *unsupported*. To use Preview features, use the 'preview' language version. [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.CodeGeneration.TypeScript.Tests\NJsonSchema.CodeGeneration.TypeScript.Tests.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.CodeGeneration.TypeScript.Tests\TypeScriptGeneratorTests.cs(150,30): error CS8652: The feature 'raw string literals' is currently in Preview and *unsupported*. To use Preview features, use the 'preview' language version. [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.CodeGeneration.TypeScript.Tests\NJsonSchema.CodeGeneration.TypeScript.Tests.csproj]
windows-latest
ProcessException: Process 'dotnet.exe' exited with code 1. > "C:\Program Files\dotnet\dotnet.exe" build D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.sln --configuration Release --no-restore /property:AssemblyVersion=11.0.0 /property:FileVersion=11.0.0 /property:InformationalVersion=11.0.0 /property:Deterministic=True /property:ContinuousIntegrationBuild=True @ D:\a\NJsonSchema\NJsonSchema
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
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]
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]