From cf91cb21f5d9c8fc90c4bb479a81791ba76d3341 Mon Sep 17 00:00:00 2001 From: Steven Cleve <107827476+stevencl840@users.noreply.github.com> Date: Fri, 12 Dec 2025 13:44:10 +1100 Subject: [PATCH 1/2] Remove .net 6 --- .github/workflows/ci.yml | 5 +---- LibGit2Sharp/LibGit2Sharp.csproj | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5a83f6b58..038eab0ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,7 @@ jobs: matrix: arch: [ x64 ] os: [ windows-2022, macos-13 ] - tfm: [ net472, net6.0, net8.0, net9.0 ] + tfm: [ net472, net8.0, net9.0 ] exclude: - os: macos-13 tfm: net472 @@ -63,7 +63,6 @@ jobs: dotnet-version: | 9.0.x 8.0.x - 6.0.x - name: Run ${{ matrix.tfm }} tests run: dotnet test LibGit2Sharp.sln --configuration Release --framework ${{ matrix.tfm }} --logger "GitHubActions" /p:ExtraDefine=LEAKS_IDENTIFYING test-linux: @@ -82,8 +81,6 @@ jobs: - distro: alpine.3.19 sdk: '9.0' include: - - sdk: '6.0' - tfm: net6.0 - sdk: '8.0' tfm: net8.0 - sdk: '9.0' diff --git a/LibGit2Sharp/LibGit2Sharp.csproj b/LibGit2Sharp/LibGit2Sharp.csproj index 611798631..f3ae850d4 100644 --- a/LibGit2Sharp/LibGit2Sharp.csproj +++ b/LibGit2Sharp/LibGit2Sharp.csproj @@ -1,7 +1,7 @@  - net472;net8.0;net6.0 + net472;net8.0 12.0 true LibGit2Sharp brings all the might and speed of libgit2, a native Git implementation, to the managed world of .NET @@ -28,9 +28,6 @@ true - - true - From 8219c8ddaf5f41eea53295e95114dece75f25956 Mon Sep 17 00:00:00 2001 From: Steven Cleve <107827476+stevencl840@users.noreply.github.com> Date: Fri, 12 Dec 2025 13:57:36 +1100 Subject: [PATCH 2/2] Update to Macos-14 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 038eab0ec..321c21385 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,10 +39,10 @@ jobs: strategy: matrix: arch: [ x64 ] - os: [ windows-2022, macos-13 ] + os: [ windows-2022, macos-14 ] tfm: [ net472, net8.0, net9.0 ] exclude: - - os: macos-13 + - os: macos-14 tfm: net472 include: - arch: arm64