Skip to content

fix warnings in CBORTest; remove DataUtilitiesTest which is a test fo… #218

fix warnings in CBORTest; remove DataUtilitiesTest which is a test fo…

fix warnings in CBORTest; remove DataUtilitiesTest which is a test fo… #218

Triggered via push October 7, 2023 13:08
Status Failure
Total duration 2m 44s
Artifacts
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 9 warnings
Analyze (csharp): CBORDocs2/DocVisitor.cs#L374
Type of conditional expression cannot be determined because there is no implicit conversion between 'bool' and 'System.Text.StringBuilder'
Analyze (csharp): CBORDocs2/DocVisitor.cs#L374
Type of conditional expression cannot be determined because there is no implicit conversion between 'bool' and 'System.Text.StringBuilder'
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)
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): CBORDocs2/TypeNameUtil.cs#L133
Elements should have the same indentation
Analyze (csharp): CBORDocs2/TypeNameUtil.cs#L134
Elements should have the same indentation
Analyze (csharp): CBORDocs2/DocVisitor.cs#L803
Statement should not use unnecessary parenthesis
Analyze (csharp): CBORTest/CBORPlistWriter.cs#L332
Elements should have the same indentation
Analyze (csharp): CBORDocs2/TypeNameUtil.cs#L133
Elements should have the same indentation
Analyze (csharp): CBORDocs2/TypeNameUtil.cs#L134
Elements should have the same indentation
Analyze (csharp): CBORDocs2/DocVisitor.cs#L803
Statement should not use unnecessary parenthesis
Analyze (csharp): CBORTest/CBORPlistWriter.cs#L332
Elements should have the same indentation