Skip to content

Bump PuppeteerSharp from 15.0.0 to 15.1.0 #332

Bump PuppeteerSharp from 15.0.0 to 15.1.0

Bump PuppeteerSharp from 15.0.0 to 15.1.0 #332

Re-run triggered March 22, 2024 07:49
Status Success
Total duration 3m 43s
Artifacts

dotnet.yml

on: pull_request
Matrix: build
deployRelease
0s
deployRelease
deployTest
0s
deployTest
Fit to window
Zoom out
Zoom in

Annotations

36 warnings
build (macos-latest): Codeuctivity.HtmlRendererCli/Program.cs#L43
Using member 'Codeuctivity.HtmlRenderer.Renderer.CreateAsync(BrowserFetcher, LaunchOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This functionality is not compatible with trimming. Use 'MethodFriendlyToTrimming' instead.
build (macos-latest): Codeuctivity.HtmlRendererCli/Program.cs#L20
Method 'Task<int> Program.Main(string[] args)' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "Usage: PuppeteerSharp.RendererCli <sourceHtmlFilePath> <destinatioPdfFilePath>". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)
build (macos-latest): Codeuctivity.HtmlRenderer/Renderer.cs#L66
Use recommended dispose pattern to ensure that object created by 'new BrowserFetcher()' is disposed on all paths. If possible, wrap the creation within a 'using' statement or a 'using' declaration. Otherwise, use a try-finally pattern, with a dedicated local variable declared before the try region and an unconditional Dispose invocation on non-null value in the 'finally' region, say 'x?.Dispose()'. If the object is explicitly disposed within the try region or the dispose ownership is transfered to another object or method, assign 'null' to the local variable just after such an operation to prevent double dispose in 'finally'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
build (macos-latest): Codeuctivity.HtmlRenderer/Renderer.cs#L131
Use 'string.Contains' instead of 'string.IndexOf' to improve readability (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249)
build (macos-latest): Codeuctivity.HtmlRenderer/Renderer.cs#L98
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
build (ubuntu-latest): Codeuctivity.HtmlRendererCli/Program.cs#L43
Using member 'Codeuctivity.HtmlRenderer.Renderer.CreateAsync(BrowserFetcher, LaunchOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This functionality is not compatible with trimming. Use 'MethodFriendlyToTrimming' instead.
build (macos-latest): Codeuctivity.HtmlRenderer/Renderer.cs#L99
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
build (ubuntu-latest): Codeuctivity.HtmlRendererCli/Program.cs#L20
Method 'Task<int> Program.Main(string[] args)' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "Usage: PuppeteerSharp.RendererCli <sourceHtmlFilePath> <destinatioPdfFilePath>". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)
build (macos-latest): Codeuctivity.HtmlRenderer/Renderer.cs#L204
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
build (ubuntu-latest): Codeuctivity.HtmlRenderer/Renderer.cs#L66
Use recommended dispose pattern to ensure that object created by 'new BrowserFetcher()' is disposed on all paths. If possible, wrap the creation within a 'using' statement or a 'using' declaration. Otherwise, use a try-finally pattern, with a dedicated local variable declared before the try region and an unconditional Dispose invocation on non-null value in the 'finally' region, say 'x?.Dispose()'. If the object is explicitly disposed within the try region or the dispose ownership is transfered to another object or method, assign 'null' to the local variable just after such an operation to prevent double dispose in 'finally'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
build (macos-latest): Codeuctivity.HtmlRenderer/Renderer.cs#L173
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
build (ubuntu-latest): Codeuctivity.HtmlRenderer/Renderer.cs#L131
Use 'string.Contains' instead of 'string.IndexOf' to improve readability (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249)
build (macos-latest): Codeuctivity.HtmlRenderer/Renderer.cs#L227
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
build (ubuntu-latest): Codeuctivity.HtmlRenderer/Renderer.cs#L98
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
build (macos-latest): Codeuctivity.HtmlRendererCli/Program.cs#L20
Method 'Task<int> Program.Main(string[] args)' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "Usage: PuppeteerSharp.RendererCli <sourceHtmlFilePath> <destinatioPdfFilePath>". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)
build (macos-latest): Codeuctivity.HtmlRendererTests/RendererTests.cs#L49
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
build (ubuntu-latest): Codeuctivity.HtmlRenderer/Renderer.cs#L99
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
build (macos-latest): Codeuctivity.HtmlRendererTests/RendererTests.cs#L83
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
build (ubuntu-latest): Codeuctivity.HtmlRenderer/Renderer.cs#L227
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
build (ubuntu-latest): Codeuctivity.HtmlRenderer/Renderer.cs#L204
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
build (ubuntu-latest): Codeuctivity.HtmlRenderer/Renderer.cs#L173
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
build (ubuntu-latest): Codeuctivity.HtmlRendererCli/Program.cs#L20
Method 'Task<int> Program.Main(string[] args)' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "Usage: PuppeteerSharp.RendererCli <sourceHtmlFilePath> <destinatioPdfFilePath>". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)
build (ubuntu-latest): Codeuctivity.HtmlRendererTests/RendererTests.cs#L49
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
build (ubuntu-latest): Codeuctivity.HtmlRendererTests/RendererTests.cs#L83
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
build (windows-latest): Codeuctivity.HtmlRenderer/Renderer.cs#L66
Use recommended dispose pattern to ensure that object created by 'new BrowserFetcher()' is disposed on all paths. If possible, wrap the creation within a 'using' statement or a 'using' declaration. Otherwise, use a try-finally pattern, with a dedicated local variable declared before the try region and an unconditional Dispose invocation on non-null value in the 'finally' region, say 'x?.Dispose()'. If the object is explicitly disposed within the try region or the dispose ownership is transfered to another object or method, assign 'null' to the local variable just after such an operation to prevent double dispose in 'finally'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
build (windows-latest): Codeuctivity.HtmlRenderer/Renderer.cs#L131
Use 'string.Contains' instead of 'string.IndexOf' to improve readability (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249)
build (windows-latest): Codeuctivity.HtmlRenderer/Renderer.cs#L98
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
build (windows-latest): Codeuctivity.HtmlRenderer/Renderer.cs#L99
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
build (windows-latest): Codeuctivity.HtmlRenderer/Renderer.cs#L173
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
build (windows-latest): Codeuctivity.HtmlRenderer/Renderer.cs#L204
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
build (windows-latest): Codeuctivity.HtmlRenderer/Renderer.cs#L227
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
build (windows-latest): Codeuctivity.HtmlRendererCli/Program.cs#L20
Method 'Task<int> Program.Main(string[] args)' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "Usage: PuppeteerSharp.RendererCli <sourceHtmlFilePath> <destinatioPdfFilePath>". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)
build (windows-latest): Codeuctivity.HtmlRendererTests/RendererTests.cs#L49
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
build (windows-latest): Codeuctivity.HtmlRendererTests/RendererTests.cs#L83
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
build (windows-latest): Codeuctivity.HtmlRendererCli/Program.cs#L43
Using member 'Codeuctivity.HtmlRenderer.Renderer.CreateAsync(BrowserFetcher, LaunchOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This functionality is not compatible with trimming. Use 'MethodFriendlyToTrimming' instead.
build (windows-latest): Codeuctivity.HtmlRendererCli/Program.cs#L20
Method 'Task<int> Program.Main(string[] args)' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "Usage: PuppeteerSharp.RendererCli <sourceHtmlFilePath> <destinatioPdfFilePath>". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)