CodeQL #1364
Annotations
3 errors and 12 warnings
Initialize CodeQL
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/
|
Autobuild
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/
|
Perform CodeQL Analysis
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/
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/[email protected], github/codeql-action/init@v1, github/codeql-action/autobuild@v1, github/codeql-action/analyze@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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/
|
Autobuild:
src/MlCli/Extentions/OAuth2ClientCredentials/HttpClientExtensions.cs#L18
Return type of 'HttpClientExtensions.GetAccessTokenWithClientAssertionAsync(HttpClient, OAuth2ClientCredentialsBaseOptions)' is not CLS-compliant
|
Autobuild:
src/MlCli/Extentions/Http/OAuth2ClientCredentials/IOAuth2ClientCredentialsClient.cs#L9
Return type of 'IOAuth2ClientCredentialsClient.GetAccessTokenWithClientAssertionAsync(OAuth2ClientCredentialsOptions)' is not CLS-compliant
|
Autobuild:
src/MlCli/Extentions/Http/OAuth2ClientCredentials/OAuth2ClientCredentialsClient.cs#L17
Return type of 'OAuth2ClientCredentialsClient.GetAccessTokenWithClientAssertionAsync(OAuth2ClientCredentialsOptions)' is not CLS-compliant
|
Autobuild:
src/MlCli/Program.cs#L38
'Program.Main(string[], string)' has the wrong signature to be an entry point
|
Autobuild:
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.
|
Autobuild:
src/MlCli/JobApiCall/ApiCallFiles.cs#L135
'ServicePointManager.FindServicePoint(Uri)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
|
Autobuild:
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.
|
Autobuild:
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.
|
Autobuild:
src/Ecotag/Server/Datasets/Database/Annotations/AnnotationsRepository.cs#L230
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Autobuild:
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.
|
Loading