wip: build schema using NJsonSchema #407
Annotations
8 errors and 11 warnings
ubuntu-latest
[xUnit.net 00:00:00.66] Nuke.Common.Tests.CompletionUtilityTest.TestGetCompletionItemsParameterBuild [FAIL]
|
Nuke.Common.Tests.CompletionUtilityTest.TestGetCompletionItemsParameterBuild:
source/Nuke.Build.Tests/CompletionUtilityTest.cs#L43
System.ArgumentException : Expected file to exist: /Users/matt/code/nuke/source/Nuke.Build.Tests/SchemaUtilityTest.TestParameterBuild.verified.json (Parameter 'path')
|
ubuntu-latest
[xUnit.net 00:00:00.66] Nuke.Common.Tests.CompletionUtilityTest.TestGetCompletionItemsTargetBuild [FAIL]
|
Nuke.Common.Tests.CompletionUtilityTest.TestGetCompletionItemsTargetBuild:
source/Nuke.Build.Tests/CompletionUtilityTest.cs#L34
System.ArgumentException : Expected file to exist: /Users/matt/code/nuke/source/Nuke.Build.Tests/SchemaUtilityTest.TestTargetBuild.verified.json (Parameter 'path')
|
ubuntu-latest
[xUnit.net 00:00:01.20] Nuke.Common.Tests.SchemaUtilityTest.TestParameterBuild [FAIL]
|
Nuke.Common.Tests.SchemaUtilityTest.TestParameterBuild
VerifyException : Directory: /home/runner/work/nuke/nuke/source/Nuke.Build.Tests
NotEqual:
- Received: SchemaUtilityTest.TestParameterBuild.received.json
Verified: SchemaUtilityTest.TestParameterBuild.verified.json
FileContent:
NotEqual:
Received: SchemaUtilityTest.TestParameterBuild.received.json
Verified: SchemaUtilityTest.TestParameterBuild.verified.json
Compare Result:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"properties": {
"BooleanParam": {
"type": "boolean"
},
"ComplexTypeArrayParam": {
"type": "array",
"items": {
- "$ref": "#/definitions/OfSchemaUtilityTestF9E5B3352D3C7B2A09EBB8075A0ECA7D376B43F377AA6CCDDF0E21014566A9E2E__ComplexType"
+ "$ref": "#/definitions/OfSchemaUtilityTestFFBFD30354009D6D55C6A0B7B1EC35B2BABC3B9F64C06BC9A62191AFCA72453BF__ComplexType"
}
},
"ComplexTypeParam": {
- "$ref": "#/definitions/OfSchemaUtilityTestF9E5B3352D3C7B2A09EBB8075A0ECA7D376B43F377AA6CCDDF0E21014566A9E2E__ComplexType"
+ "$ref": "#/definitions/OfSchemaUtilityTestFFBFD30354009D6D55C6A0B7B1EC35B2BABC3B9F64C06BC9A62191AFCA72453BF__ComplexType"
},
"ComponentInheritedParam": {
"type": "string"
},
"CustomEnumerationArrayParam": {
"type": "array",
"items": {
"type": "string",
"enum": [
"Debug",
"Release"
]
}
},
"CustomEnumerationParam": {
"type": "string",
"enum": [
"Debug",
"Release"
]
},
"IntegerArrayParam": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
}
},
"NullableBooleanParam": {
"type": [
"boolean",
"null"
]
},
"RegularParam": {
"type": "string"
},
"SecretParam": {
"type": "string",
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
},
"StringArrayParam": {
"type": "array",
"items": {
"type": "string"
}
}
},
"definitions": {
- "OfSchemaUtilityTestF9E5B3352D3C7B2A09EBB8075A0ECA7D376B43F377AA6CCDDF0E21014566A9E2E__ComplexType": {
+ "OfSchemaUtilityTestFFBFD30354009D6D55C6A0B7B1EC35B2BABC3B9F64C06BC9A62191AFCA72453BF__ComplexType": {
"type": "object",
"properties": {
"String": {
"type": [
"null",
"string"
]
},
"Number": {
"type": "integer",
"format": "int32"
},
"Paths": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"SubObject": {
"oneOf": [
{
"type": "null"
},
{
- "$ref": "#/definitions/OfSchemaUtilityTestF9E5B3352D3C7B2A09EBB8075A0ECA7D376B43F377AA6CCDDF0E21014566A9E2E__ComplexSubType"
+ "$ref": "#/definitions/OfSchemaUtilityTestFFBFD30354009D6D55C6A0B7B1EC35B2BABC3B9F64C06BC9A62191AFCA72453BF__ComplexSubType"
}
]
}
}
},
- "OfSchemaUtilityTestF9E5B3352D3C7B2A09EBB8075A0ECA7D376B43F377AA6CCDDF0E21014566A9E2E__ComplexSubType": {
+ "OfSchemaUtilityTestFFBFD30354009D6D55C6A0B7B1EC35B2BABC3B9F64C06BC9A62191AFCA72453BF__ComplexSubType": {
"type": "object",
"properties": {
"Boolean": {
"type": [
"boolean",
"null"
]
}
}
},
"Host": {
"type": "string",
"enum": [
"Rider",
"Terminal",
"VisualStudio",
"VSCode"
]
},
"ExecutableTarget": {
"type": "string"
},
"Verbosity": {
"type": "string",
"description": "",
"enum": [
"Verbose",
"Normal",
|
ubuntu-latest
Target "Test" has thrown an exception
|
ubuntu-latest
Process completed with exit code 255.
|
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
/home/runner/work/nuke/nuke/source/Nuke.SourceGenerators/StronglyTypedSolutionGenerator.cs(23,14): warning RS1036: 'Nuke.SourceGenerators.StronglyTypedSolutionGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>' [/home/runner/work/nuke/nuke/source/Nuke.SourceGenerators/Nuke.SourceGenerators.csproj]
|
ubuntu-latest
/home/runner/work/nuke/nuke/source/Nuke.Build.Tests/SchemaUtilityTest.cs(122,44): warning CS0169: The field 'CustomParameterAttributeBuild.ComplexTypeParamWithAttribute' is never used [/home/runner/work/nuke/nuke/source/Nuke.Build.Tests/Nuke.Build.Tests.csproj]
|
ubuntu-latest
/home/runner/work/nuke/nuke/source/Nuke.Build.Tests/SchemaUtilityTest.cs(86,40): warning CS0169: The field 'ParameterBuild.ComplexTypeArrayParam' is never used [/home/runner/work/nuke/nuke/source/Nuke.Build.Tests/Nuke.Build.Tests.csproj]
|
ubuntu-latest
/home/runner/work/nuke/nuke/source/Nuke.Build.Tests/SchemaUtilityTest.cs(83,46): warning CS0169: The field 'ParameterBuild.CustomEnumerationArrayParam' is never used [/home/runner/work/nuke/nuke/source/Nuke.Build.Tests/Nuke.Build.Tests.csproj]
|
ubuntu-latest
/home/runner/work/nuke/nuke/source/Nuke.Build.Tests/SchemaUtilityTest.cs(76,31): warning CS0169: The field 'ParameterBuild.BooleanParam' is never used [/home/runner/work/nuke/nuke/source/Nuke.Build.Tests/Nuke.Build.Tests.csproj]
|
ubuntu-latest
/home/runner/work/nuke/nuke/source/Nuke.Build.Tests/SchemaUtilityTest.cs(82,44): warning CS0169: The field 'ParameterBuild.CustomEnumerationParam' is never used [/home/runner/work/nuke/nuke/source/Nuke.Build.Tests/Nuke.Build.Tests.csproj]
|
ubuntu-latest
/home/runner/work/nuke/nuke/source/Nuke.Build.Tests/SchemaUtilityTest.cs(79,35): warning CS0169: The field 'ParameterBuild.StringArrayParam' is never used [/home/runner/work/nuke/nuke/source/Nuke.Build.Tests/Nuke.Build.Tests.csproj]
|
ubuntu-latest
/home/runner/work/nuke/nuke/source/Nuke.Build.Tests/SchemaUtilityTest.cs(77,32): warning CS0169: The field 'ParameterBuild.NullableBooleanParam' is never used [/home/runner/work/nuke/nuke/source/Nuke.Build.Tests/Nuke.Build.Tests.csproj]
|
ubuntu-latest
/home/runner/work/nuke/nuke/source/Nuke.Build.Tests/SchemaUtilityTest.cs(80,32): warning CS0169: The field 'ParameterBuild.IntegerArrayParam' is never used [/home/runner/work/nuke/nuke/source/Nuke.Build.Tests/Nuke.Build.Tests.csproj]
|
ubuntu-latest
/home/runner/work/nuke/nuke/source/Nuke.Build.Tests/SchemaUtilityTest.cs(74,42): warning CS0169: The field 'ParameterBuild.SecretParam' is never used [/home/runner/work/nuke/nuke/source/Nuke.Build.Tests/Nuke.Build.Tests.csproj]
|