Skip to content

Commit f0a989c

Browse files
committed
Remove net6.0
1 parent a88e2a0 commit f0a989c

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,13 @@ jobs:
3939
matrix:
4040
arch: [ x64 ]
4141
os: [ windows-2019, windows-2022, macos-12, macos-13 ]
42-
tfm: [ net472, net6.0, net8.0 ]
42+
tfm: [ net472, net8.0 ]
4343
exclude:
4444
- os: macos-12
4545
tfm: net472
4646
- os: macos-13
4747
tfm: net472
4848
include:
49-
- arch: arm64
50-
os: macos-14
51-
tfm: net6.0
5249
- arch: arm64
5350
os: macos-14
5451
tfm: net8.0
@@ -63,7 +60,6 @@ jobs:
6360
with:
6461
dotnet-version: |
6562
8.0.x
66-
6.0.x
6763
- name: Run ${{ matrix.tfm }} tests
6864
run: dotnet test LibGit2Sharp.sln --configuration Release --framework ${{ matrix.tfm }} --logger "GitHubActions" /p:ExtraDefine=LEAKS_IDENTIFYING
6965
test-linux:
@@ -74,7 +70,7 @@ jobs:
7470
arch: [ amd64 ]
7571
# arch: [ amd64, arm64 ]
7672
distro: [ alpine.3.13, alpine.3.14, alpine.3.15, alpine.3.16, alpine.3.17, alpine.3.18, centos.stream.8, debian.10, debian.11, fedora.36, fedora.37, ubuntu.18.04, ubuntu.20.04, ubuntu.22.04 ]
77-
sdk: [ '6.0', '8.0' ]
73+
sdk: [ '8.0' ]
7874
exclude:
7975
- distro: alpine.3.13
8076
sdk: '8.0'
@@ -91,8 +87,6 @@ jobs:
9187
- distro: ubuntu.18.04
9288
sdk: '8.0'
9389
include:
94-
- sdk: '6.0'
95-
tfm: net6.0
9690
- sdk: '8.0'
9791
tfm: net8.0
9892
fail-fast: false

LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks Condition="'$(TargetFrameworks)'==''">net472;net6.0;net8.0</TargetFrameworks>
4+
<TargetFrameworks Condition="'$(TargetFrameworks)'==''">net472;net8.0</TargetFrameworks>
55
</PropertyGroup>
66

77
<ItemGroup>

LibGit2Sharp/LibGit2Sharp.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net472;net6.0</TargetFrameworks>
5-
<LangVersion>10.0</LangVersion>
4+
<TargetFrameworks>net472;net8.0</TargetFrameworks>
5+
<LangVersion>12.0</LangVersion>
66
<GenerateDocumentationFile>true</GenerateDocumentationFile>
77
<Description>LibGit2Sharp brings all the might and speed of libgit2, a native Git implementation, to the managed world of .NET</Description>
88
<Company>LibGit2Sharp contributors</Company>
@@ -24,7 +24,7 @@
2424
<MinVerBuildMetadata Condition="'$(libgit2_hash)' != ''">libgit2-$(libgit2_hash.Substring(0,7))</MinVerBuildMetadata>
2525
</PropertyGroup>
2626

27-
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0'">
27+
<PropertyGroup Condition="'$(TargetFramework)' == 'net8.0'">
2828
<IsTrimmable>true</IsTrimmable>
2929
</PropertyGroup>
3030

0 commit comments

Comments
 (0)