Skip to content

Commit 92fb1ce

Browse files
authored
NET7 (#280)
1 parent c8e3057 commit 92fb1ce

File tree

7 files changed

+12
-11
lines changed

7 files changed

+12
-11
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
- name: Checkout source
1717
uses: actions/checkout@v3
1818

19-
- name: Setup .NET Core SDK
19+
- name: Setup .NET SDK
2020
uses: actions/setup-dotnet@v3
2121
with:
22-
dotnet-version: '6.0.x'
22+
dotnet-version: 7.0.x
2323

2424
- name: Initialize CodeQL
2525
uses: github/codeql-action/init@v2

.github/workflows/publish-preview.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
steps:
2222
- name: Checkout source
2323
uses: actions/checkout@v3
24-
- name: Setup .NET Core 6.0 SDK
24+
- name: Setup .NET SDK
2525
uses: actions/setup-dotnet@v3
2626
with:
27-
dotnet-version: '6.0.x'
27+
dotnet-version: 7.0.x
2828
source-url: https://nuget.pkg.github.com/graphql-dotnet/index.json
2929
env:
3030
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

.github/workflows/publish-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ jobs:
2727
version="${github_ref:10}"
2828
echo version=$version
2929
echo "version=$version" >> $GITHUB_ENV
30-
- name: Setup .NET Core 6.0 SDK
30+
- name: Setup .NET SDK
3131
uses: actions/setup-dotnet@v3
3232
with:
33-
dotnet-version: '6.0.x'
33+
dotnet-version: 7.0.x
3434
source-url: https://api.nuget.org/v3/index.json
3535
env:
3636
NUGET_AUTH_TOKEN: ${{secrets.NUGET_AUTH_TOKEN}}

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,14 @@ jobs:
3131
steps:
3232
- name: Checkout source
3333
uses: actions/checkout@v3
34-
- name: Setup .NET Core SDKs
34+
- name: Setup .NET SDKs
3535
uses: actions/setup-dotnet@v3
3636
with:
3737
dotnet-version: |
3838
3.1.x
3939
5.0.x
4040
6.0.x
41+
7.0.x
4142
source-url: https://nuget.pkg.github.com/graphql-dotnet/index.json
4243
env:
4344
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

src/GraphQLParser.ApiTests/GraphQLParser.ApiTests.csproj

Lines changed: 1 addition & 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>net6</TargetFramework>
4+
<TargetFramework>net7</TargetFramework>
55
<NoWarn>$(NoWarn);1591</NoWarn>
66
<Nullable>enable</Nullable>
77
</PropertyGroup>

src/GraphQLParser.Benchmarks/GraphQLParser.Benchmarks.csproj

Lines changed: 1 addition & 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>net6</TargetFramework>
4+
<TargetFramework>net7</TargetFramework>
55
<OutputType>Exe</OutputType>
66
<IsPackable>false</IsPackable>
77
<NoWarn>$(NoWarn);1591</NoWarn>

src/GraphQLParser.Tests/GraphQLParser.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
</PropertyGroup>
99

1010
<PropertyGroup Condition="'$(SingleTestPlatform)' == 'true'">
11-
<TargetFramework>net6</TargetFramework>
11+
<TargetFramework>net7</TargetFramework>
1212
</PropertyGroup>
1313

1414
<PropertyGroup Condition="'$(SingleTestPlatform)' != 'true'">
15-
<TargetFrameworks>netcoreapp3.1;net5;net6</TargetFrameworks>
15+
<TargetFrameworks>netcoreapp3.1;net5;net6;net7</TargetFrameworks>
1616
</PropertyGroup>
1717

1818
<ItemGroup>

0 commit comments

Comments
 (0)