Skip to content

Bump SkiaSharp from 3.119.4 to 4.148.0#111

Merged
stesee merged 6 commits into
releasefrom
main
Jul 3, 2026
Merged

Bump SkiaSharp from 3.119.4 to 4.148.0#111
stesee merged 6 commits into
releasefrom
main

Conversation

@stesee

@stesee stesee commented Jul 3, 2026

Copy link
Copy Markdown

This pull request makes several important updates to the project, focusing on modernizing dependencies, improving CI workflows, and enhancing the development environment. The main changes include upgrading to .NET 10, updating key package dependencies, refining the GitHub Actions workflow for building and testing, and adding a dev container configuration for easier development setup.

Dependency and Target Framework Updates:

  • The main project (SkiaSharpCompare) now targets only net10.0, dropping support for net8.0 and net9.0.
  • Upgraded SkiaSharp, SkiaSharp.NativeAssets.Linux.NoDependencies, and SonarAnalyzer.CSharp to their latest versions in both the main and test projects. [1] [2]
  • Updated test dependencies (NUnit, NUnit3TestAdapter, and Microsoft.NET.Test.Sdk) to recent versions in both SkiaSharpCompare.Cli.Tests and SkiaSharpCompareTestNunit. [1] [2]

CI/CD Workflow Improvements:

  • Updated the GitHub Actions workflow to use the latest versions of actions/checkout and actions/setup-dotnet, and to build/test only with .NET 10.0.x. [1] [2]
  • Changed the release versioning scheme to start from 4.0 and adjusted the deploy test job to run only on the main branch. [1] [2]
  • Removed the GitHub prerelease step from the deploy test job, simplifying the release process.

Development Environment:

  • Added a .devcontainer/devcontainer.json file to provide a ready-to-use development container setup for C# (.NET) development, improving onboarding and consistency.

dependabot Bot and others added 5 commits June 22, 2026 05:22
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
---
updated-dependencies:
- dependency-name: SkiaSharp.NativeAssets.Linux.NoDependencies
  dependency-version: 4.148.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
…ctions/checkout-7

Bump actions/checkout from 6 to 7
…ompare/SkiaSharp.NativeAssets.Linux.NoDependencies-4.148.0

Bump SkiaSharp.NativeAssets.Linux.NoDependencies from 3.119.4 to 4.148.0
Copilot AI review requested due to automatic review settings July 3, 2026 14:11

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Modernizes the SkiaSharp.Compare solution by upgrading SkiaSharp and related dependencies, aligning the repo around .NET 10, updating CI to build/test with .NET 10, and adding a dev container configuration to simplify local development.

Changes:

  • Upgraded SkiaSharp (and Linux native assets) to 4.148.0 and refreshed analyzer/test package versions.
  • Dropped multi-targeting in the main library to target only net10.0, and updated CI to build/test only with .NET 10.
  • Added a .devcontainer/devcontainer.json to provide a consistent containerized development environment.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
SkiaSharpCompare/SkiaSharpCompare.csproj Switches to net10-only targeting and bumps SkiaSharp/analyzer package versions.
SkiaSharpCompareTestNunit/SkiaSharpCompareTestNunit.csproj Updates analyzer and test SDK package versions for the NUnit test project.
SkiaSharpCompare.Cli.Tests/SkiaSharpCompare.Cli.Tests.csproj Updates NUnit/adapter/test SDK package versions for CLI test project.
.github/workflows/dotnet.yml Updates CI actions and .NET SDK matrix; adjusts versioning and deploy-test triggering.
.devcontainer/devcontainer.json Adds a standard .NET dev container configuration for onboarding/consistency.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 95 to 97
deployTest:
if: ${{ !startsWith(github.ref, 'refs/heads/release') }}
if: ${{ github.ref == 'refs/heads/main') }}
runs-on: ubuntu-latest
Comment on lines 2 to 4
<PropertyGroup>
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
<TargetFrameworks>net10.0</TargetFrameworks>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
Comment on lines 15 to 17
<PackageReference Include="nunit" Version="4.6.1" />
<PackageReference Include="SonarAnalyzer.CSharp" Version="10.16.0.128591">
<PackageReference Include="SonarAnalyzer.CSharp" Version="10.27.0.140913">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Replaced the legacy Visual Studio `.sln` file with a new `.slnx` solution definition, preserving the same projects and solution items in the new format. Also narrowed `SkiaSharpCompareTestNunit` target frameworks from `net8.0;net9.0;net10.0` to `net10.0` only, likely to align test builds with the current supported runtime.
@stesee stesee merged commit 39d3a9f into release Jul 3, 2026
1 check passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants