Skip to content

Commit 9cf7b23

Browse files
committed
Remove net6.0 TFM
`net6.0` goes out of support November 12, 2024 Remove `setup-dotnet` action from Ubuntu runners because they already have the required dotnet version available.
1 parent 19585bf commit 9cf7b23

File tree

4 files changed

+6
-15
lines changed

4 files changed

+6
-15
lines changed

.github/workflows/wf_build-and-test.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,6 @@ jobs:
4848
runs-on: ubuntu-latest
4949
steps:
5050
- uses: actions/checkout@v4
51-
- name: Setup dotnet
52-
uses: actions/setup-dotnet@v4
53-
with:
54-
dotnet-version: |
55-
6.0.x
56-
8.0.x
5751
- name: Build (Debug)
5852
run: dotnet build ${{ github.workspace }}/Build.csproj
5953
- name: Verify

Directory.Packages.props

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
<!-- HAClient -->
99
<PackageVersion Include="DotNext.Threading" Version="5.15.0" />
1010
<!-- Tests -->
11-
<PackageVersion Include="xunit" Version="2.9.0" />
11+
<PackageVersion Include="xunit" Version="2.9.2" />
1212
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.2" />
1313
<PackageVersion Include="Xunit.SkippableFact" Version="1.4.13" />
1414
<PackageVersion Include="coverlet.collector" Version="6.0.2" />
15-
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.11.0" />
15+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
1616
<PackageVersion Include="EasyNetQ.Management.Client" Version="3.0.0" />
1717
</ItemGroup>
1818
<ItemGroup Condition="$(TargetFramework)=='netstandard2.0'">
@@ -25,9 +25,6 @@
2525
<PackageVersion Include="System.Diagnostics.DiagnosticSource" Version="6.0.0" />
2626
<PackageVersion Include="System.Runtime.CompilerServices.Unsafe" Version="6.0.0" />
2727
</ItemGroup>
28-
<ItemGroup Condition="'$(TargetFramework)'=='net6.0'">
29-
<PackageVersion Include="System.Diagnostics.DiagnosticSource" Version="6.0.0" />
30-
</ItemGroup>
3128
<ItemGroup Condition="'$(TargetFramework)'=='net8.0'">
3229
<PackageVersion Include="System.Diagnostics.DiagnosticSource" Version="8.0.1" />
3330
</ItemGroup>
@@ -37,6 +34,6 @@
3734
<ItemGroup Condition="'$(IsPackable)'=='true'">
3835
<GlobalPackageReference Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" Version="3.3.4" />
3936
<GlobalPackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
40-
<GlobalPackageReference Include="MinVer" Version="5.0.0" />
37+
<GlobalPackageReference Include="MinVer" Version="6.0.0" />
4138
</ItemGroup>
4239
</Project>

RabbitMQ.AMQP.Client/RabbitMQ.AMQP.Client.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-
<TargetFrameworks>net6.0;net8.0;netstandard2.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0;netstandard2.0</TargetFrameworks>
55
<IsPackable>true</IsPackable>
66
<EmbedUntrackedSources>true</EmbedUntrackedSources>
77
<MinVerSkip>false</MinVerSkip>

Tests/Tests.csproj

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

33
<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Windows'))">
4-
<TargetFrameworks>net6.0;net8.0;net472</TargetFrameworks>
4+
<TargetFrameworks>net8.0;net472</TargetFrameworks>
55
</PropertyGroup>
66

77
<PropertyGroup Condition="!$([MSBuild]::IsOSPlatform('Windows'))">
8-
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
8+
<TargetFrameworks>net8.0</TargetFrameworks>
99
</PropertyGroup>
1010

1111
<PropertyGroup>

0 commit comments

Comments
 (0)