Skip to content

Commit 56f520f

Browse files
authored
Merge pull request #19 from nkz-soft/f/update-runtime
Migrate to .NET 8
2 parents 7ad5109 + baa5687 commit 56f520f

File tree

5 files changed

+18
-11
lines changed

5 files changed

+18
-11
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Setup .NET SDK
2525
uses: actions/setup-dotnet@v3
2626
with:
27-
dotnet-version: 7.0.x
27+
dotnet-version: 8.0.x
2828
- name: Build
2929
run: dotnet build -c Release
3030
- name: Test

.github/workflows/publish-nuget.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup .NET SDK
1616
uses: actions/setup-dotnet@v3
1717
with:
18-
dotnet-version: 7.0.x
18+
dotnet-version: 8.0.x
1919
- name: Build
2020
run: dotnet build -c Release
2121
- name: Test

NKZSoft.Service.Configuration.Logger.sln

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1212
EndProject
1313
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NKZSoft.Service.Configuration.Logger", "src\NKZSoft.Service.Configuration.Logger\NKZSoft.Service.Configuration.Logger.csproj", "{75E92E71-070C-4666-B79D-E24A1C6FDDE7}"
1414
EndProject
15+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ci-cd", "ci-cd", "{B4CE8A10-018F-40A7-8F89-3E2E18C9C22F}"
16+
ProjectSection(SolutionItems) = preProject
17+
.github\workflows\build.yaml = .github\workflows\build.yaml
18+
.github\workflows\publish-nuget.yaml = .github\workflows\publish-nuget.yaml
19+
EndProjectSection
20+
EndProject
1521
Global
1622
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1723
Debug|Any CPU = Debug|Any CPU

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "7.0.0",
3+
"version": "8.0.0",
44
"rollForward": "latestMinor",
55
"allowPrerelease": true
66
}
Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
4+
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
55
<RepositoryUrl>https://github.com/nkz-soft/NKZSoft.Service.Configuration.Logger</RepositoryUrl>
6-
<Version>1.2.1</Version>
7-
<PackageVersion>1.2.1</PackageVersion>
6+
<Version>1.3.0</Version>
7+
<PackageVersion>1.3.0</PackageVersion>
88
<Description>Provides the configuration for Serilog</Description>
99
<Copyright>Copyright © 2022</Copyright>
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="Serilog" Version="3.0.1" />
13+
<PackageReference Include="Serilog" Version="4.0.0" />
1414
<PackageReference Include="Serilog.Enrichers.CorrelationId" Version="3.0.1" />
1515
<PackageReference Include="Serilog.Enrichers.Sensitive" Version="1.7.3" />
16-
<PackageReference Include="Serilog.Extensions.Logging" Version="7.0.0" />
17-
<PackageReference Include="Serilog.Sinks.Console" Version="4.1.0" />
18-
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" />
19-
<PackageReference Include="Serilog.Settings.Configuration" Version="7.0.0" />
16+
<PackageReference Include="Serilog.Extensions.Logging" Version="8.0.0" />
17+
<PackageReference Include="Serilog.Sinks.Console" Version="6.0.0" />
18+
<PackageReference Include="Serilog.Sinks.File" Version="6.0.0" />
19+
<PackageReference Include="Serilog.Settings.Configuration" Version="8.0.2" />
20+
<PackageReference Update="Microsoft.SourceLink.GitHub" Version="8.0.0" />
2021
</ItemGroup>
2122

2223
</Project>

0 commit comments

Comments
 (0)