Skip to content

Commit b53b7aa

Browse files
authored
add net6 to TargetFrameworks (#118)
* add net6 to TargetFrameworks * use net6 in actions * fix actions with net6 * update tests to net6 * fix actions typo
1 parent e47501f commit b53b7aa

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
- uses: actions/checkout@v2
1111
with:
1212
fetch-depth: 0
13-
- name: Setup .NET 3
13+
- name: Setup .NET 6
1414
uses: actions/setup-dotnet@v1
1515
with:
16-
dotnet-version: '3.1.x'
16+
dotnet-version: '6.0.x'
1717
- uses: nuget/setup-nuget@v1
1818
with:
1919
nuget-version: '5.x'

src/FluentAssertions.Analyzers.Tests/FluentAssertions.Analyzers.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</TargetFramework>
55

66
<IsPackable>false</IsPackable>
77
</PropertyGroup>

src/FluentAssertions.Analyzers/FluentAssertions.Analyzers.csproj

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

33
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT' ">
4-
<TargetFrameworks>netstandard2.0;netstandard2.1;net48</TargetFrameworks>
4+
<TargetFrameworks>netstandard2.0;netstandard2.1;net48;net6</TargetFrameworks>
55
</PropertyGroup>
66
<PropertyGroup Condition=" '$(OS)' != 'Windows_NT' ">
7-
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
7+
<TargetFrameworks>netstandard2.0;netstandard2.1;net6</TargetFrameworks>
88
</PropertyGroup>
99

1010
<PropertyGroup>

0 commit comments

Comments
 (0)