Bump SonarAnalyzer.CSharp from 9.7.0.75501 to 9.19.0.84025 #844
build.yml
on: pull_request
Build
46s
Test
1m 3s
Run CodeQL analysis
1m 35s
Run Infer#
0s
Annotations
23 errors and 5 warnings
Build:
src/PaperMalKing.AniList.Wrapper.Abstractions/Models/Connection.cs#L22
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
|
Build:
src/PaperMalKing.AniList.Wrapper.Abstractions/Models/Favourites.cs#L16
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
|
Build:
src/PaperMalKing.Database/DbExtensions.cs#L31
'DbContext.SaveChanges()' synchronously blocks. Await 'DbContext.SaveChangesAsync(CancellationToken)' instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1849)
|
Build:
src/PaperMalKing.MyAnimeList.Wrapper.Abstractions/Converters/DateOnlyFromMalConverter.cs#L18
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
|
Build:
src/PaperMalKing.AniList.Wrapper.Abstractions/Models/Connection.cs#L22
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
|
Build:
src/PaperMalKing.AniList.Wrapper.Abstractions/Models/Favourites.cs#L16
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
|
Build:
src/PaperMalKing.Database/DbExtensions.cs#L31
'DbContext.SaveChanges()' synchronously blocks. Await 'DbContext.SaveChangesAsync(CancellationToken)' instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1849)
|
Build:
src/PaperMalKing.MyAnimeList.Wrapper.Abstractions/Converters/DateOnlyFromMalConverter.cs#L18
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
|
Build
Process completed with exit code 1.
|
Test:
src/PaperMalKing.MyAnimeList.Wrapper.Abstractions/Converters/DateOnlyFromMalConverter.cs#L18
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
|
Test:
src/PaperMalKing.AniList.Wrapper.Abstractions/Models/Favourites.cs#L16
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
|
Test:
src/PaperMalKing.AniList.Wrapper.Abstractions/Models/Connection.cs#L22
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
|
Test:
src/PaperMalKing.Database/DbExtensions.cs#L31
'DbContext.SaveChanges()' synchronously blocks. Await 'DbContext.SaveChangesAsync(CancellationToken)' instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1849)
|
Test
Process completed with exit code 1.
|
Run CodeQL analysis:
src/PaperMalKing.MyAnimeList.Wrapper.Abstractions/Converters/DateOnlyFromMalConverter.cs#L18
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
|
Run CodeQL analysis:
src/PaperMalKing.Database/DbExtensions.cs#L31
'DbContext.SaveChanges()' synchronously blocks. Await 'DbContext.SaveChangesAsync(CancellationToken)' instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1849)
|
Run CodeQL analysis:
src/PaperMalKing.AniList.Wrapper.Abstractions/Models/Connection.cs#L22
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
|
Run CodeQL analysis:
src/PaperMalKing.AniList.Wrapper.Abstractions/Models/Favourites.cs#L16
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
|
Run CodeQL analysis:
src/PaperMalKing.MyAnimeList.Wrapper.Abstractions/Converters/DateOnlyFromMalConverter.cs#L18
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
|
Run CodeQL analysis:
src/PaperMalKing.Database/DbExtensions.cs#L31
'DbContext.SaveChanges()' synchronously blocks. Await 'DbContext.SaveChangesAsync(CancellationToken)' instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1849)
|
Run CodeQL analysis:
src/PaperMalKing.AniList.Wrapper.Abstractions/Models/Connection.cs#L22
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0301)
|
Run CodeQL analysis:
src/PaperMalKing.AniList.Wrapper.Abstractions/Models/Favourites.cs#L16
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
|
Run CodeQL analysis
Process completed with exit code 1.
|
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3, actions/setup-node@v3, pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run CodeQL analysis
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3, actions/setup-node@v3, pnpm/action-setup@v2, github/codeql-action/init@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run CodeQL analysis
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/
|
Run CodeQL analysis
Unexpected input(s) 'include-prerelease', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']
|