Skip to content

Commit 8de28ce

Browse files
Merge pull request #145 from ServiceComposer/net-8
Add .NET 8 as a target framework
2 parents cb43e23 + 6a119a0 commit 8de28ce

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
dotnet-version: |
3535
6.0.x
3636
7.0.x
37+
8.0.x
3738
- name: Build
3839
run: dotnet build src --configuration Release
3940
- name: Tests
@@ -51,10 +52,10 @@ jobs:
5152
if: startsWith(github.ref, 'refs/tags')
5253
runs-on: ubuntu-20.04
5354
steps:
54-
- name: Setup .NET 6
55+
- name: Setup .NET
5556
uses: actions/[email protected]
5657
with:
57-
dotnet-version: 6.0.x
58+
dotnet-version: 8.0.x
5859
- name: Download artifacts
5960
uses: actions/[email protected]
6061
with:

src/ServiceComposer.AspNetCore.Testing/ServiceComposer.AspNetCore.Testing.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
4+
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
55
</PropertyGroup>
66

77
<PropertyGroup>
@@ -35,8 +35,12 @@
3535
<ItemGroup Condition="'$(TargetFramework)' == 'net7.0'">
3636
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="[7.0.1, 8.0.0)" />
3737
</ItemGroup>
38+
39+
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
40+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="[8.0.0, 9.0.0)" />
41+
</ItemGroup>
3842

39-
<ItemGroup>
43+
<ItemGroup>
4044
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
4145
</ItemGroup>
4246

0 commit comments

Comments
 (0)