Skip to content

Commit 9e1404d

Browse files
committed
feat: add .NET 8 support
1 parent 3bafda4 commit 9e1404d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020
name: test and publish if allowed
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2424

2525
- uses: actions/setup-dotnet@v3
2626
with:
27-
dotnet-version: "7.0.x"
27+
dotnet-version: "8.0.x"
2828

2929
- name: Run tests
3030
run: dotnet test src/ --collect:"XPlat Code Coverage"

src/Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919

2020
<HotChocolateVersion>13.0.0</HotChocolateVersion>
2121

22-
<TargetFrameworks>net7.0; net6.0; netstandard2.0</TargetFrameworks>
23-
<TargetFrameworks Condition="$(MSBuildProjectName.EndsWith('Tests'))">net7.0; net6.0</TargetFrameworks>
22+
<TargetFrameworks>net8.0; net7.0; net6.0; netstandard2.0</TargetFrameworks>
23+
<TargetFrameworks Condition="$(MSBuildProjectName.EndsWith('Tests'))">net8.0; net7.0; net6.0</TargetFrameworks>
2424
</PropertyGroup>
2525

2626
</Project>

0 commit comments

Comments
 (0)