Skip to content

Editorconfig v2

Editorconfig v2 #212

Re-run triggered October 7, 2023 10:37
Status Failure
Total duration 1m 56s
Artifacts

codeql-analysis.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
Analyze (csharp): CBORDocs2/DocVisitor.cs#L468
Type of conditional expression cannot be determined because there is no implicit conversion between 'bool' and 'System.Text.StringBuilder'
Analyze (csharp): CBOR/PeterO/Cbor/CBORObject.cs#L4080
Predefined type 'System.ValueTuple`2' is not defined or imported
Analyze (csharp): CBORDocs2/DocVisitor.cs#L468
Type of conditional expression cannot be determined because there is no implicit conversion between 'bool' and 'System.Text.StringBuilder'
Analyze (csharp): CBOR/PeterO/Cbor/CBORObject.cs#L4080
Predefined type 'System.ValueTuple`2' is not defined or imported
Analyze (csharp)
The current .NET SDK does not support targeting .NET Core 6.0. Either target .NET Core 5.0 or lower, or use a version of the .NET SDK that supports .NET Core 6.0.
Analyze (csharp)
The current .NET SDK does not support targeting .NET Core 6.0. Either target .NET Core 5.0 or lower, or use a version of the .NET SDK that supports .NET Core 6.0.
Analyze (csharp)
The current .NET SDK does not support targeting .NET Core 6.0. Either target .NET Core 5.0 or lower, or use a version of the .NET SDK that supports .NET Core 6.0.
Analyze (csharp): CBOR/PeterO/Cbor/CBORObject.cs#L4080
Predefined type 'System.ValueTuple`2' is not defined or imported
Analyze (csharp)
The current .NET SDK does not support targeting .NET Core 6.0. Either target .NET Core 5.0 or lower, or use a version of the .NET SDK that supports .NET Core 6.0.
Analyze (csharp)
We were unable to automatically build your code. Please replace the call to the autobuild action with your custom build steps. Encountered a fatal error while running "/opt/hostedtoolcache/CodeQL/2.14.6/x64/codeql/csharp/tools/autobuild.sh". Exit code was 1 and error was: /usr/lib/mono/msbuild/Current/bin/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(127,5): error NETSDK1045: The current .NET SDK does not support targeting .NET Core 6.0. Either target .NET Core 5.0 or lower, or use a version of the .NET SDK that supports .NET Core 6.0. [/home/runner/work/CBOR/CBOR/CBORDocs2/CBORDocs2.csproj] /usr/lib/mono/msbuild/Current/bin/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(127,5): error NETSDK1045: The current .NET SDK does not support targeting .NET Core 6.0. Either target .NET Core 5.0 or lower, or use a version of the .NET SDK that supports .NET Core 6.0. [/home/runner/work/CBOR/CBOR/CBORTest/CBORTest.csproj] Error: Could not auto-detect a suitable build method
Analyze (csharp)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Analyze (csharp): CBOR/PeterO/Cbor/CBORJson2.cs#L41
Readonly fields should appear before non-readonly fields
Analyze (csharp): CBOR/PeterO/Cbor/CBORJson3.cs#L43
Readonly fields should appear before non-readonly fields
Analyze (csharp): CBOR/PeterO/Cbor/CBORNumber.cs#L116
Conditional expressions should declare precedence
Analyze (csharp): CBOR/PeterO/Cbor/CBORJson2.cs#L41
Readonly fields should appear before non-readonly fields
Analyze (csharp): CBOR/PeterO/Cbor/CBORJson3.cs#L43
Readonly fields should appear before non-readonly fields
Analyze (csharp): CBOR/PeterO/Cbor/CBORNumber.cs#L116
Conditional expressions should declare precedence
Analyze (csharp): CBOR/PeterO/Cbor/CBORJson2.cs#L41
Readonly fields should appear before non-readonly fields
Analyze (csharp): CBOR/PeterO/Cbor/CBORJson3.cs#L43
Readonly fields should appear before non-readonly fields
Analyze (csharp): CBOR/PeterO/Cbor/CBORNumber.cs#L116
Conditional expressions should declare precedence