diff --git a/build/README.md b/build/README.md index 404c506..d575b64 100644 --- a/build/README.md +++ b/build/README.md @@ -4,7 +4,7 @@ - install dependencies -[net6.0 sdk](https://dotnet.microsoft.com/download/dotnet/6.0), +[net8.0 sdk](https://dotnet.microsoft.com/download/dotnet/8.0), [InvokeBuild](https://www.powershellgallery.com/packages/InvokeBuild/5.9.12), [Pester](https://www.powershellgallery.com/packages/Pester/5.3.3) diff --git a/build/scripts/build-tasks.ps1 b/build/scripts/build-tasks.ps1 index f5417fa..842bf82 100644 --- a/build/scripts/build-tasks.ps1 +++ b/build/scripts/build-tasks.ps1 @@ -1,7 +1,7 @@ task LocalBuild DefaultBuild, LocalPsCoreTest task CIBuild DefaultBuild, CIPsCoreTest -task DefaultBuild Initialize, Clean, Build, PackPowerShellModule, UnitTest60 +task DefaultBuild Initialize, Clean, Build, PackPowerShellModule, UnitTest Enter-Build { $settings = @{ @@ -49,8 +49,8 @@ task Build { } } -task UnitTest60 { - Exec { .\step-unit-test.ps1 $settings.bin "net6.0" } +task UnitTest { + Exec { .\step-unit-test.ps1 $settings.bin "net8.0" } } task PackPowerShellModule { diff --git a/build/scripts/step-unit-test.ps1 b/build/scripts/step-unit-test.ps1 index fa88005..725e5d7 100644 --- a/build/scripts/step-unit-test.ps1 +++ b/build/scripts/step-unit-test.ps1 @@ -6,7 +6,7 @@ param ( $BinPath, [Parameter(Mandatory)] - [ValidateSet("net6.0")] + [ValidateSet("net8.0")] [string] $Framework ) diff --git a/sources/Test.csproj.props b/sources/Test.csproj.props index b39cf35..c50f456 100644 --- a/sources/Test.csproj.props +++ b/sources/Test.csproj.props @@ -1,6 +1,6 @@ - net6.0 + net8.0 ..\..\bin\unit-test true diff --git a/sources/global.json b/sources/global.json index 139e521..78a3666 100644 --- a/sources/global.json +++ b/sources/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "6.0.401", + "version": "8.0.200", "allowPrerelease": false, "rollForward": "latestFeature" }