Skip to content

Commit 0de705f

Browse files
committed
switched to net8.0
1 parent 5b31f51 commit 0de705f

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ env:
88
PROJECT_NAME: 'tone'
99
PROJECT_PATH: 'tone/tone.csproj'
1010
PROJECT_OUTPUT_PATH: ${{ github.workspace }}/output/
11-
DOTNET_VERSION: '6.0.405'
12-
DOTNET_FRAMEWORK: 'net6.0'
11+
DOTNET_VERSION: '8.0.x'
12+
DOTNET_FRAMEWORK: 'net8.0'
1313
jobs:
1414
release:
1515
name: Release
@@ -55,10 +55,10 @@ jobs:
5555
runs-on: ${{ matrix.os }}
5656
steps:
5757
- name: Checkout
58-
uses: actions/checkout@v2
58+
uses: actions/checkout@v4
5959

6060
- name: Setup dotnet
61-
uses: actions/setup-dotnet@v1
61+
uses: actions/setup-dotnet@v4
6262
with:
6363
dotnet-version: ${{ env.DOTNET_VERSION }}
6464
source-url: "https://nuget.pkg.github.com/sandreas/index.json"
@@ -93,6 +93,8 @@ jobs:
9393
tar czvf "${release_name}.tar.gz" "$release_name/tone"
9494
fi
9595
rm -r "$release_name"
96+
- name: Test
97+
run: dotnet test --configuration Release /p:Version=${{ steps.version.outputs.version-without-v }} --no-build
9698
- name: Publish
9799
uses: softprops/action-gh-release@v1
98100
with:

cli-tester/cli-tester.csproj

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

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net6.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<RootNamespace>cli_tester</RootNamespace>
77
<ImplicitUsings>enable</ImplicitUsings>
88
<Nullable>enable</Nullable>
99
</PropertyGroup>
1010

1111
<ItemGroup>
1212
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.0" />
13+
<PackageReference Include="Sandreas.SpectreConsoleHelpers" Version="0.0.2" />
1314
<PackageReference Include="Spectre.Console" Version="0.49.1" />
1415
</ItemGroup>
1516

tone.Tests/tone.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>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<Nullable>enable</Nullable>
66

77
<IsPackable>false</IsPackable>

tone/Program.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using System;
22
using System.Collections.Generic;
3-
using System.IO;
43
using System.IO.Abstractions;
54
using System.Linq;
65
using System.Net.Http;

tone/tone.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<!-- compress contents -->
3030

3131

32-
<TargetFramework>net6.0</TargetFramework>
32+
<TargetFramework>net8.0</TargetFramework>
3333

3434
</PropertyGroup>
3535

0 commit comments

Comments
 (0)