Skip to content

codeql fix - load dotnet (#30) #60

codeql fix - load dotnet (#30)

codeql fix - load dotnet (#30) #60

Triggered via push February 7, 2025 20:17
Status Success
Total duration 2m 48s
Artifacts
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 11 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)
1 issue was detected with this workflow: git checkout HEAD^2 is no longer necessary. Please remove this step as Code Scanning recommends analyzing the merge commit for best results.
Analyze (csharp): Gallery.Api/Hubs/MainHub.cs#L104
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): Gallery.Api/Controllers/HealthCheckController.cs#L76
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): Gallery.Api/Services/CollectionService.cs#L76
The result of the expression is always 'true' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'
Analyze (csharp): Gallery.Api/Services/UserArticleService.cs#L408
Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200)
Analyze (csharp): Gallery.Api/Services/UserArticleService.cs#L367
Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200)
Analyze (csharp): Gallery.Api/Hubs/MainHub.cs#L104
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): Gallery.Api/Controllers/HealthCheckController.cs#L76
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): Gallery.Api/Services/CollectionService.cs#L76
The result of the expression is always 'true' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'
Analyze (csharp): Gallery.Api/Services/UserArticleService.cs#L408
Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200)
Analyze (csharp): Gallery.Api/Services/UserArticleService.cs#L367
Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200)