Skip to content

Commit 55a21ce

Browse files
authored
Merge pull request #40 from tgharold/target-net6-in-TFM
Target .NET 6 in test projects
2 parents 7a42c4f + 49e714d commit 55a21ce

File tree

5 files changed

+7
-7
lines changed

5 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 Core
38+
- name: Setup .NET 6
3939
uses: actions/setup-dotnet@v1
4040
with:
41-
dotnet-version: 3.1.101
41+
dotnet-version: 6.0.302
4242

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

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

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

22-
- name: Setup .NET Core
22+
- name: Setup .NET 6
2323
uses: actions/setup-dotnet@v1
2424
with:
25-
dotnet-version: 3.1.101
25+
dotnet-version: 6.0.302
2626

2727
- name: Build with dotnet
2828
run: dotnet build --configuration Release

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>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net6.0</TargetFramework>
66
<ImplicitUsings>disable</ImplicitUsings>
77
<Nullable>disable</Nullable>
88
<IsPackable>false</IsPackable>

examples/OptionsPatternMvc.Example/OptionsPatternMvc.Example.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.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
<IsPackable>false</IsPackable>
66
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
77
</PropertyGroup>

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>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
<IsPackable>false</IsPackable>
66
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
77
</PropertyGroup>

0 commit comments

Comments
 (0)