Skip to content

Commit 613dcce

Browse files
committed
Update dependencies and to net8.0
1 parent 5eeeab8 commit 613dcce

File tree

7 files changed

+31
-31
lines changed

7 files changed

+31
-31
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,8 @@ jobs:
1313
runs-on: windows-latest
1414

1515
steps:
16-
- name: Checkout
17-
uses: actions/checkout@v3
18-
with:
19-
fetch-depth: 0
20-
21-
- name: Install .NET 7.0
22-
uses: actions/setup-dotnet@v3
23-
with:
24-
dotnet-version: '7.0.x'
25-
26-
- name: Build, Test, Pack, Publish
27-
shell: bash
28-
run: |
29-
dotnet tool install -g dotnet-releaser
30-
dotnet-releaser run --nuget-token "${{secrets.NUGET_TOKEN}}" --github-token "${{secrets.GITHUB_TOKEN}}" src/dotnet-releaser.toml
16+
- name: "Build, Test, Pack and Publish"
17+
uses: xoofx/.github/.github/actions/dotnet-releaser-action@main
18+
with:
19+
dotnet-version: '8.0'
20+
NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }}

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Lunet.Extensions.Logging.SpectreConsole
2-
[![Build Status](https://github.com/lunet-io/Lunet.Extensions.Logging.SpectreConsole/workflows/ci/badge.svg?branch=main)](https://github.com/lunet-io/Lunet.Extensions.Logging.SpectreConsole/actions) [![Coverage Status](https://coveralls.io/repos/github/lunet-io/Lunet.Extensions.Logging.SpectreConsole/badge.svg?branch=main)](https://coveralls.io/github/lunet-io/Lunet.Extensions.Logging.SpectreConsole?branch=main) [![NuGet](https://img.shields.io/nuget/v/Lunet.Extensions.Logging.SpectreConsole.svg)](https://www.nuget.org/packages/Lunet.Extensions.Logging.SpectreConsole/)
2+
[![ci](https://github.com/lunet-io/Lunet.Extensions.Logging.SpectreConsole/actions/workflows/ci.yml/badge.svg)](https://github.com/lunet-io/Lunet.Extensions.Logging.SpectreConsole/actions/workflows/ci.yml) [![Coverage Status](https://coveralls.io/repos/github/lunet-io/Lunet.Extensions.Logging.SpectreConsole/badge.svg?branch=main)](https://coveralls.io/github/lunet-io/Lunet.Extensions.Logging.SpectreConsole?branch=main) [![NuGet](https://img.shields.io/nuget/v/Lunet.Extensions.Logging.SpectreConsole.svg)](https://www.nuget.org/packages/Lunet.Extensions.Logging.SpectreConsole/)
33

44
A highly configurable [Spectre.Console](https://github.com/spectreconsole/spectre.console/) logger for `Microsoft.Extensions.Logging`.
55

66
## Features
77
- Highly configurable
8-
- Simple dependency to `Microsoft.Extensions.Logging`/`7.0.0+` and `Spectre.Console`/`0.47+`
8+
- Simple dependency to `Microsoft.Extensions.Logging`/`9.0.4+` and `Spectre.Console`/`0.50+`
99
- Add log markup methods (e.g `LogInformationMarkup`, `LogWarningMarkup`...) that can take additional `Spectre.Console` renderable objects.
1010
- Compatible with other loggers. Ansi colors will be removed from output.
1111
- Compatible with `netstandard2.0+`

src/ExampleApp/ExampleApp.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net7.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<IsPackable>false</IsPackable>
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" />
12+
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.4" />
1313
</ItemGroup>
1414

1515
<ItemGroup>

src/Lunet.Extensions.Logging.SpectreConsole.Tests/Lunet.Extensions.Logging.SpectreConsole.Tests.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<IsPackable>false</IsPackable>
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="7.0.0" />
11-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
12-
<PackageReference Include="NUnit" Version="3.13.3" />
13-
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
14-
<PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" />
10+
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="9.0.4" />
11+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
12+
<PackageReference Include="NUnit" Version="4.3.2" />
13+
<PackageReference Include="NUnit3TestAdapter" Version="5.0.0" />
14+
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.4" />
15+
</ItemGroup>
16+
17+
<ItemGroup>
18+
<Using Include="NUnit.Framework" />
19+
<Using Include="NUnit.Framework.Legacy.ClassicAssert" Alias="Assert" />
20+
<Using Include="NUnit.Framework.Legacy.CollectionAssert" Alias="CollectionAssert" />
21+
<Using Include="NUnit.Framework.Legacy.StringAssert" Alias="StringAssert" />
22+
<Using Include="NUnit.Framework.Legacy.DirectoryAssert" Alias="DirectoryAssert" />
23+
<Using Include="NUnit.Framework.Legacy.FileAssert" Alias="FileAssert" />
1524
</ItemGroup>
1625

1726
<ItemGroup>

src/Lunet.Extensions.Logging.SpectreConsole.sln.DotSettings

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<s:String x:Key="/Default/CodeStyle/FileHeader/FileHeaderText/@EntryValue">Copyright (c) Alexandre Mutel. All rights reserved.&#xD;
33
This file is licensed under the BSD-Clause 2 license. &#xD;
44
See the license.txt file in the project root for more information.</s:String>
5+
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EFeature_002EServices_002ECodeCleanup_002EFileHeader_002EFileHeaderSettingsMigrate/@EntryIndexedValue">True</s:Boolean>
56
<s:Boolean x:Key="/Default/UserDictionary/Words/=Lunet/@EntryIndexedValue">True</s:Boolean>
67
<s:Boolean x:Key="/Default/UserDictionary/Words/=renderable/@EntryIndexedValue">True</s:Boolean>
78
<s:Boolean x:Key="/Default/UserDictionary/Words/=Renderables/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>

src/Lunet.Extensions.Logging.SpectreConsole/Lunet.Extensions.Logging.SpectreConsole.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,20 @@
2929
</ItemGroup>
3030

3131
<ItemGroup>
32-
<PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" />
33-
<PackageReference Include="Spectre.Console" Version="0.47.0" />
34-
<PackageReference Include="Wcwidth.Sources" Version="1.0.0">
32+
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.4" />
33+
<PackageReference Include="Spectre.Console" Version="0.50.0" />
34+
<PackageReference Include="Wcwidth.Sources" Version="2.0.0">
3535
<PrivateAssets>all</PrivateAssets>
3636
</PackageReference>
3737
</ItemGroup>
3838

3939
<ItemGroup>
40-
<PackageReference Include="MinVer" Version="4.3.0">
40+
<PackageReference Include="MinVer" Version="6.0.0">
4141
<PrivateAssets>all</PrivateAssets>
4242
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
4343
</PackageReference>
4444
<!--Add support for sourcelink-->
45-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.*" PrivateAssets="All" />
45+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
4646
</ItemGroup>
4747

4848
</Project>

src/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.100",
3+
"version": "8.0.100",
44
"rollForward": "latestMinor",
55
"allowPrerelease": false
66
}

0 commit comments

Comments
 (0)