Skip to content

Commit 639a156

Browse files
committed
Use the .NET 6.0 SDK an run tests on .NET 6
1 parent 27c1690 commit 639a156

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ jobs:
2323
nupkg-filename: ${{ steps.dotnet-pack.outputs.nupkg-filename }}
2424
release-body: ${{ steps.tag-message.outputs.release-notes }}
2525
steps:
26+
- name: Install .NET 6.0 SDK
27+
uses: actions/setup-dotnet@v1
28+
with:
29+
dotnet-version: 6.0.x
2630
- name: Checkout git repository
2731
uses: actions/checkout@v2
2832
with:

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://json.schemastore.org/global",
33
"sdk": {
4-
"version": "5.0.400",
4+
"version": "6.0.100",
55
"allowPrerelease": false,
66
"rollForward": "latestMinor"
77
}

serilog-formatting-log4net.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ ProjectSection(SolutionItems) = preProject
55
global.json = global.json
66
NuGet.config = NuGet.config
77
.config\dotnet-tools.json = .config\dotnet-tools.json
8+
.github\workflows\continuous-integration.yml = .github\workflows\continuous-integration.yml
89
EndProjectSection
910
EndProject
1011
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Serilog.Formatting.Log4Net", "src\Serilog.Formatting.Log4Net.csproj", "{66DF8036-B2E9-4FD1-9204-012EE3F9A2E4}"

tests/Serilog.Formatting.Log4Net.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-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
<LangVersion>8.0</LangVersion>
66
<Nullable>enable</Nullable>
77
<IsPackable>false</IsPackable>

0 commit comments

Comments
 (0)