Skip to content

Commit e2e65eb

Browse files
Merge pull request #20 from WarehouseFinds/feat/update-actions
Downgrade .NET version 8.0
2 parents 91bd016 + d3def59 commit e2e65eb

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
- name: Setup .NET
7777
uses: actions/setup-dotnet@v5
7878
with:
79-
dotnet-version: '10.0.x'
79+
dotnet-version: '8.0.x'
8080

8181
- name: Restore dependencies
8282
run: dotnet restore
@@ -124,7 +124,7 @@ jobs:
124124
- name: Setup .NET
125125
uses: actions/setup-dotnet@v5
126126
with:
127-
dotnet-version: '10.0.x'
127+
dotnet-version: '8.0.x'
128128

129129
- name: Build Module
130130
shell: pwsh

src/PSBinaryModule.csproj

Lines changed: 2 additions & 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>net10.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<RuntimeIdentifiers>win-x64;win-arm64;linux-x64;linux-arm64;osx-x64;osx-arm64</RuntimeIdentifiers>
66
<AssemblyName>PSBinaryModule</AssemblyName>
77
<RootNamespace>PSBinaryModule</RootNamespace>
@@ -13,6 +13,7 @@
1313
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
1414
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
1515
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
16+
<EnableDynamicLoading>true</EnableDynamicLoading>
1617
</PropertyGroup>
1718

1819
<ItemGroup>

tests/PSBinaryModule.Tests/PSBinaryModule.Tests.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net10.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<IsPackable>false</IsPackable>
88
<IsTestProject>true</IsTestProject>
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="coverlet.collector" Version="8.0.0">
12+
<PackageReference Include="coverlet.collector" Version="6.0.2">
1313
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1414
<PrivateAssets>all</PrivateAssets>
1515
</PackageReference>
16-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
16+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
1717
<PackageReference Include="xunit" Version="2.9.3" />
18-
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
18+
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
1919
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2020
<PrivateAssets>all</PrivateAssets>
2121
</PackageReference>
22-
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.5.4" />
22+
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.4.6" />
2323
</ItemGroup>
2424

2525
<ItemGroup>

0 commit comments

Comments
 (0)