Skip to content

Commit a5f052c

Browse files
committed
Update build to use .NET 8
1 parent 15a2b95 commit a5f052c

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/create-release-asset-on-git-tag.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ jobs:
3535
echo "RELEASE_TAG=$RELEASE_TAG env.RELEASE_TAG=${{ env.RELEASE_TAG }}"
3636
echo "RELEASE_VERSION=$RELEASE_VERSION env.RELEASE_VERSION=${{ env.RELEASE_VERSION }}"
3737
38-
- name: Setup .NET 6
38+
- name: Setup .NET 8
3939
uses: actions/setup-dotnet@v1
4040
with:
41-
dotnet-version: 6.0.302
41+
dotnet-version: 8.0.204
4242

4343
- name: dotnet build
4444
run: dotnet build --configuration ${{ env.CONFIG }}

.github/workflows/dotnetcore-build-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v2
2121

22-
- name: Setup .NET 6
22+
- name: Setup .NET 8
2323
uses: actions/setup-dotnet@v1
2424
with:
25-
dotnet-version: 6.0.302
26-
25+
dotnet-version: 8.0.204
26+
2727
- name: Build with dotnet
2828
run: dotnet build --configuration Release
2929

benchmark/Benchmark/Benchmark.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net6.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<ImplicitUsings>disable</ImplicitUsings>
77
<Nullable>disable</Nullable>
88
<IsPackable>false</IsPackable>

test/RecursiveDataAnnotationsValidation.Tests/RecursiveDataAnnotationsValidation.Tests.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.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<IsPackable>false</IsPackable>
66
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
77
</PropertyGroup>

0 commit comments

Comments
 (0)