Skip to content

Bump SonarAnalyzer.CSharp from 9.7.0.75501 to 9.17.0.82934 #839

Bump SonarAnalyzer.CSharp from 9.7.0.75501 to 9.17.0.82934

Bump SonarAnalyzer.CSharp from 9.7.0.75501 to 9.17.0.82934 #839

Triggered via pull request January 22, 2024 06:39
Status Failure
Total duration 2m 16s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

23 errors and 1 warning
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.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.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.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.
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: 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
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.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.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.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.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.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
Process completed with exit code 1.
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']