Merge pull request #3375 from pre-commit/dotnet-tests-ubuntu-latest

update .net tests to use .net 8
This commit is contained in:
Anthony Sottile 2024-12-28 16:03:04 -05:00 committed by GitHub
commit 18b393905e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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