Skip to content

CodeQL

CodeQL #1290

Triggered via schedule August 20, 2023 02:50
Status Failure
Total duration 6m 49s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

codeql-analysis.yml

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

Annotations

11 errors and 14 warnings
Analyze (csharp)
This version of the CodeQL Action was deprecated on January 18th, 2023, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v2. For more information, see https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/
Analyze (csharp)
This version of the CodeQL Action was deprecated on January 18th, 2023, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v2. For more information, see https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/
Analyze (csharp)
Assets file '/home/runner/work/ecotag/ecotag/src/MlCli/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v7.0'. Ensure that restore has run and that you have included 'net70' in the TargetFrameworks for your project.
Analyze (csharp)
Assets file '/home/runner/work/ecotag/ecotag/tests/MlCli.Tests/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v7.0'. Ensure that restore has run and that you have included 'net70' in the TargetFrameworks for your project.
Analyze (csharp)
Assets file '/home/runner/work/ecotag/ecotag/tests/Ecotag.Tests/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v7.0'. Ensure that restore has run and that you have included 'net70' in the TargetFrameworks for your project.
Analyze (csharp)
Assets file '/home/runner/work/ecotag/ecotag/src/Ecotag/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v7.0'. Ensure that restore has run and that you have included 'net70' in the TargetFrameworks for your project.
Analyze (csharp)
Assets file '/home/runner/work/ecotag/ecotag/src/MlCli.DemoApi/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v7.0'. Ensure that restore has run and that you have included 'net70' 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. Failure invoking /opt/hostedtoolcache/CodeQL/0.0.0-20230105/x64/codeql/csharp/tools/autobuild.sh with arguments . Exit code 1 and error was: Error: Could not auto-detect a suitable build method
Analyze (javascript)
This version of the CodeQL Action was deprecated on January 18th, 2023, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v2. For more information, see https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/
Analyze (javascript)
This version of the CodeQL Action was deprecated on January 18th, 2023, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v2. For more information, see https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/
Analyze (javascript)
This version of the CodeQL Action was deprecated on January 18th, 2023, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v2. For more information, see https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/
Analyze (csharp)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/[email protected], github/codeql-action/init@v1, github/codeql-action/autobuild@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): src/MlCli/Extentions/OAuth2ClientCredentials/HttpClientExtensions.cs#L18
Return type of 'HttpClientExtensions.GetAccessTokenWithClientAssertionAsync(HttpClient, OAuth2ClientCredentialsBaseOptions)' is not CLS-compliant
Analyze (csharp): src/MlCli/Extentions/Http/OAuth2ClientCredentials/OAuth2ClientCredentialsClient.cs#L17
Return type of 'OAuth2ClientCredentialsClient.GetAccessTokenWithClientAssertionAsync(OAuth2ClientCredentialsOptions)' is not CLS-compliant
Analyze (csharp): src/MlCli/Extentions/Http/OAuth2ClientCredentials/IOAuth2ClientCredentialsClient.cs#L9
Return type of 'IOAuth2ClientCredentialsClient.GetAccessTokenWithClientAssertionAsync(OAuth2ClientCredentialsOptions)' is not CLS-compliant
Analyze (csharp): src/MlCli/Program.cs#L38
'Program.Main(string[], string)' has the wrong signature to be an entry point
Analyze (csharp): src/MlCli/JobVersion/Job.cs#L42
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.
Analyze (csharp): src/MlCli/JobCopy/Job.cs#L19
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.
Analyze (csharp): src/MlCli/JobApiCall/ApiCallFiles.cs#L135
'ServicePointManager.FindServicePoint(Uri)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.'
Analyze (csharp): src/Ecotag/Server/Groups/Database/Group/GroupsRepository.cs#L123
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze (csharp): src/Ecotag/Local/Worker.cs#L16
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.
Analyze (csharp): src/Ecotag/Server/Datasets/Database/Annotations/AnnotationsRepository.cs#L47
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.
Analyze (javascript)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/[email protected], github/codeql-action/init@v1, github/codeql-action/autobuild@v1, github/codeql-action/analyze@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 (javascript)
Failed to download action 'https://api.github.com/repos/github/codeql-action/tarball/231aa2c8a89117b126725a0e11897209b7118144'. Error: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
Analyze (javascript)
Back off 29.045 seconds before retry.