Skip to content

Commit 967bb6b

Browse files
committed
use .net 6.0 SDK
1 parent 6189846 commit 967bb6b

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,18 @@ jobs:
2828
uses: actions/[email protected]
2929
with:
3030
fetch-depth: 0
31-
- name: Setup .NET SDK
31+
- name: Setup .NET Core 3.1 SDK
32+
uses: actions/[email protected]
33+
with:
34+
dotnet-version: 3.1.x
35+
- name: Setup .NET 5.0 SDK
3236
uses: actions/[email protected]
3337
with:
3438
dotnet-version: 5.0.x
35-
- name: Setup .NET Core 3.1 runtime
39+
- name: Setup .NET 6.0 SDK
3640
uses: actions/[email protected]
3741
with:
38-
dotnet-version: 3.1.x
42+
dotnet-version: 6.0.x
3943
- name: Build
4044
run: dotnet build LibGit2Sharp.sln --configuration Release
4145
- name: Upload packages
@@ -52,3 +56,5 @@ jobs:
5256
run: dotnet test LibGit2Sharp.sln --configuration Release --no-restore --framework netcoreapp3.1 --logger "GitHubActions" /p:ExtraDefine=LEAKS_IDENTIFYING
5357
- name: Run net5.0 tests
5458
run: dotnet test LibGit2Sharp.sln --configuration Release --no-restore --framework net5.0 --logger "GitHubActions" /p:ExtraDefine=LEAKS_IDENTIFYING
59+
- name: Run net6.0 tests
60+
run: dotnet test LibGit2Sharp.sln --configuration Release --no-restore --framework net6.0 --logger "GitHubActions" /p:ExtraDefine=LEAKS_IDENTIFYING

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>net472;netcoreapp3.1;net5.0</TargetFrameworks>
4+
<TargetFrameworks>net472;netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
55
</PropertyGroup>
66

77
<ItemGroup>

0 commit comments

Comments
 (0)