Skip to content

DrawingCanvas API: Replace imperative extension methods with stateful canvas-based drawing model #805

DrawingCanvas API: Replace imperative extension methods with stateful canvas-based drawing model

DrawingCanvas API: Replace imperative extension methods with stateful canvas-based drawing model #805

Triggered via pull request April 14, 2026 11:51
Status Success
Total duration 3m 12s
Artifacts

build-and-test.yml

on: pull_request
Matrix: Build
Publish
0s
Publish
Fit to window
Zoom out
Zoom in

Annotations

99 warnings
WarmLFS
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build (ubuntu-latest, net8.0, 8.0.x, -x64, false)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-dotnet@v4, NuGet/setup-nuget@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build (ubuntu-latest, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/TestEnvironment.cs#L26
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'SixLabors.ImageSharp.Drawing.Tests.TestEnvironment.IsFramework.get' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-dotnet@v4, NuGet/setup-nuget@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build (ubuntu-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/TestEnvironment.cs#L26
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'SixLabors.ImageSharp.Drawing.Tests.TestEnvironment.IsFramework.get' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
Build (macos-26, net10.0, 10.0.x, true, -x64, false)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-dotnet@v4, NuGet/setup-nuget@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build (windows-latest, net10.0, 10.0.x, true, -x64, false)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-dotnet@v4, NuGet/setup-nuget@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build (windows-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L235
Converting null literal or possible null value to non-nullable type.
Build (windows-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L219
Converting null literal or possible null value to non-nullable type.
Build (windows-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L203
Argument of type '(GraphicsPath sdPath, SolidBrush? fill, Pen? stroke)' cannot be used for parameter 'item' of type '(GraphicsPath, SolidBrush, Pen)' in 'void List<(GraphicsPath, SolidBrush, Pen)>.Add((GraphicsPath, SolidBrush, Pen) item)' due to differences in the nullability of reference types.
Build (windows-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L199
Converting null literal or possible null value to non-nullable type.
Build (windows-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L194
Converting null literal or possible null value to non-nullable type.
Build (windows-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestFile.cs#L25
Non-nullable field 'bytes' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Build (windows-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L175
Argument of type '(SKPath skPath, SKPaint? fillPaint, SKPaint? strokePaint)' cannot be used for parameter 'item' of type '(SKPath, SKPaint, SKPaint)' in 'void List<(SKPath, SKPaint, SKPaint)>.Add((SKPath, SKPaint, SKPaint) item)' due to differences in the nullability of reference types.
Build (windows-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L165
Converting null literal or possible null value to non-nullable type.
Build (windows-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L155
Converting null literal or possible null value to non-nullable type.
Build (windows-latest, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L53
Converting null literal or possible null value to non-nullable type.
Build (ubuntu-22.04-arm, net10.0, 10.0.x, true, -x64, false)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-dotnet@v4, NuGet/setup-nuget@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build (ubuntu-22.04-arm, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L203
Argument of type '(GraphicsPath sdPath, SolidBrush? fill, Pen? stroke)' cannot be used for parameter 'item' of type '(GraphicsPath, SolidBrush, Pen)' in 'void List<(GraphicsPath, SolidBrush, Pen)>.Add((GraphicsPath, SolidBrush, Pen) item)' due to differences in the nullability of reference types.
Build (ubuntu-22.04-arm, net10.0, 10.0.x, true, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L175
Argument of type '(SKPath skPath, SKPaint? fillPaint, SKPaint? strokePaint)' cannot be used for parameter 'item' of type '(SKPath, SKPaint, SKPaint)' in 'void List<(SKPath, SKPaint, SKPaint)>.Add((SKPath, SKPaint, SKPaint) item)' due to differences in the nullability of reference types.
Build (ubuntu-22.04-arm, net8.0, 8.0.x, -x64, false)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-dotnet@v4, NuGet/setup-nuget@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build (ubuntu-22.04-arm, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L235
Converting null literal or possible null value to non-nullable type.
Build (ubuntu-22.04-arm, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L219
Converting null literal or possible null value to non-nullable type.
Build (ubuntu-22.04-arm, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L203
Argument of type '(GraphicsPath sdPath, SolidBrush? fill, Pen? stroke)' cannot be used for parameter 'item' of type '(GraphicsPath, SolidBrush, Pen)' in 'void List<(GraphicsPath, SolidBrush, Pen)>.Add((GraphicsPath, SolidBrush, Pen) item)' due to differences in the nullability of reference types.
Build (ubuntu-22.04-arm, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L199
Converting null literal or possible null value to non-nullable type.
Build (ubuntu-22.04-arm, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L194
Converting null literal or possible null value to non-nullable type.
Build (ubuntu-22.04-arm, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L175
Argument of type '(SKPath skPath, SKPaint? fillPaint, SKPaint? strokePaint)' cannot be used for parameter 'item' of type '(SKPath, SKPaint, SKPaint)' in 'void List<(SKPath, SKPaint, SKPaint)>.Add((SKPath, SKPaint, SKPaint) item)' due to differences in the nullability of reference types.
Build (ubuntu-22.04-arm, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L165
Converting null literal or possible null value to non-nullable type.
Build (ubuntu-22.04-arm, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L155
Converting null literal or possible null value to non-nullable type.
Build (ubuntu-22.04-arm, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L53
Converting null literal or possible null value to non-nullable type.
Build (ubuntu-22.04-arm, net8.0, 8.0.x, -x64, false): tests/ImageSharp.Drawing.Tests/TestFile.cs#L25
Non-nullable field 'bytes' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Build (windows-latest, net8.0, 8.0.x, -x64, false)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-dotnet@v4, NuGet/setup-nuget@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build (macos-26, net8.0, 8.0.x, -x64, true)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea, actions/setup-dotnet@v4, NuGet/setup-nuget@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build (macos-26, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestUtilities/AsyncStreamWrapper.cs#L7
'AsyncStreamWrapper' overrides array-based 'ReadAsync' but does not override memory-based 'ReadAsync'. Consider overriding memory-based 'ReadAsync' to improve performance. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1844)
Build (macos-26, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestFileSystem.cs#L46
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (macos-26, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestFormat.cs#L179
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (macos-26, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestFileSystem.cs#L41
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (macos-26, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/Processing/DrawingCanvasTests.Process.cs#L181
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (macos-26, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/Processing/DrawingCanvasTests.Process.cs#L173
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (macos-26, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/Processing/DrawingCanvasTests.Process.cs#L171
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build (macos-26, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L175
Argument of type '(SKPath skPath, SKPaint? fillPaint, SKPaint? strokePaint)' cannot be used for parameter 'item' of type '(SKPath, SKPaint, SKPaint)' in 'void List<(SKPath, SKPaint, SKPaint)>.Add((SKPath, SKPaint, SKPaint) item)' due to differences in the nullability of reference types.
Build (macos-26, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L165
Converting null literal or possible null value to non-nullable type.
Build (macos-26, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L155
Converting null literal or possible null value to non-nullable type.
Build (macos-26, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestUtilities/SvgBenchmarkHelper.cs#L53
Converting null literal or possible null value to non-nullable type.
Build (macos-26, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestUtilities/PolygonFactory.cs#L69
Converting null literal or possible null value to non-nullable type.
Build (macos-26, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestUtilities/TestEnvironment.cs#L65
Converting null literal or possible null value to non-nullable type.
Build (macos-26, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestUtilities/TestEnvironment.cs#L59
Converting null literal or possible null value to non-nullable type.
Build (macos-26, net8.0, 8.0.x, -x64, true): tests/ImageSharp.Drawing.Tests/TestFile.cs#L25
Non-nullable field 'bytes' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.