Skip to content

CodeQL

CodeQL #151

Triggered via schedule May 16, 2024 08:17
Status Failure
Total duration 3m 27s
Artifacts

codeql-analysis.yml

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

Annotations

3 errors and 11 warnings
Analyze (csharp)
Process completed with exit code 1.
Analyze (csharp)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, github/codeql-action/init@v2, actions/setup-dotnet@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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)
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): src/content/src/NetWebApiTemplate.Infrastructure/Auth/JwtTokenService.cs#L115
Possible null reference argument for parameter 'user' in 'Task<IList<Claim>> UserManager<ApplicationUser>.GetClaimsAsync(ApplicationUser user)'.
Analyze (csharp)
The type 'MediatorOptions' in 'Mediator.SourceGenerator.Roslyn40/Mediator.SourceGenerator.IncrementalMediatorGenerator/MediatorOptions.g.cs' conflicts with the imported type 'MediatorOptions' in 'NetWebApiTemplate.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'Mediator.SourceGenerator.Roslyn40/Mediator.SourceGenerator.IncrementalMediatorGenerator/MediatorOptions.g.cs'.
Analyze (csharp): src/content/src/NetWebApiTemplate.Infrastructure/Auth/JwtTokenService.cs#L115
Possible null reference argument for parameter 'user' in 'Task<IList<Claim>> UserManager<ApplicationUser>.GetClaimsAsync(ApplicationUser user)'.
Analyze (csharp)
The type 'MediatorOptions' in 'Mediator.SourceGenerator.Roslyn40/Mediator.SourceGenerator.IncrementalMediatorGenerator/MediatorOptions.g.cs' conflicts with the imported type 'MediatorOptions' in 'NetWebApiTemplate.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'Mediator.SourceGenerator.Roslyn40/Mediator.SourceGenerator.IncrementalMediatorGenerator/MediatorOptions.g.cs'.