Skip to content

CodeQL for ModelCompiler #126

CodeQL for ModelCompiler

CodeQL for ModelCompiler #126

Triggered via schedule March 9, 2024 06:31
Status Failure
Total duration 11m 9s
Artifacts

codeql-analysis.yml

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

Annotations

3 errors and 12 warnings
Analyze (csharp)
Assets file '/home/runner/work/UA-ModelCompiler/UA-ModelCompiler/Opc.Ua.ModelCompiler/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
Analyze (csharp)
Assets file '/home/runner/work/UA-ModelCompiler/UA-ModelCompiler/Tests/DemoModel/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
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.16.3/x64/codeql/csharp/tools/autobuild.sh". Exit code was 1 and last log line was: Error: Could not auto-detect a suitable build method. See the logs for more details.
Analyze (csharp)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, github/codeql-action/init@v2, actions/setup-dotnet@v3, github/codeql-action/autobuild@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Analyze (csharp)
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
Analyze (csharp): Stack/Libraries/Opc.Ua.Security.Certificates/X509Certificate/IX509Certificate.cs#L66
The property name 'SerialNumber' is confusing given the existence of method 'GetSerialNumber'. Rename or remove one of these members. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1721)
Analyze (csharp): Stack/Libraries/Opc.Ua.Security.Certificates/X509Certificate/CertificateBuilderBase.cs#L106
The property name 'SerialNumber' is confusing given the existence of method 'GetSerialNumber'. Rename or remove one of these members. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1721)
Analyze (csharp): Stack/Libraries/Opc.Ua.Security.Certificates/X509Crl/CrlBuilder.cs#L149
Properties should not return arrays (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1819)
Analyze (csharp): Stack/Libraries/Opc.Ua.Security.Certificates/X509Certificate/CertificateBuilderBase.cs#L323
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Analyze (csharp): Stack/Libraries/Opc.Ua.Security.Certificates/X509Certificate/CertificateBuilderBase.cs#L331
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Analyze (csharp): Stack/Libraries/Opc.Ua.Security.Certificates/X509Certificate/CertificateBuilderBase.cs#L335
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Analyze (csharp): Stack/Libraries/Opc.Ua.Security.Certificates/X509Certificate/CertificateBuilderBase.cs#L327
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Analyze (csharp): Stack/Libraries/Opc.Ua.Security.Certificates/X509Certificate/CertificateBuilderBase.cs#L339
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Analyze (csharp): Stack/Libraries/Opc.Ua.Security.Certificates/X509Certificate/CertificateBuilderBase.cs#L343
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Analyze (csharp): Stack/Libraries/Opc.Ua.Security.Certificates/X509Certificate/CertificateBuilderBase.cs#L347
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)