update .net tests to use .net 8

.net 6 and 7 were removed from github actions runners
This commit is contained in:
Anthony Sottile 2024-12-28 15:50:58 -05:00
parent 1027596280
commit 28c3d81bd2

View file

@ -27,7 +27,7 @@ def _csproj(tool_name):
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6</TargetFramework>
<TargetFramework>net8</TargetFramework>
<PackAsTool>true</PackAsTool>
<ToolCommandName>{tool_name}</ToolCommandName>
<PackageOutputPath>./nupkg</PackageOutputPath>