Skip to content

Commit 4a903d9

Browse files
authored
Drop net7 (#42)
* Drop net 7 support * speed up tests * Fix benchmark scripts * drop net7 from build/devcontainer * giglobaljson woes
1 parent 49d4fbd commit 4a903d9

File tree

21 files changed

+34
-26
lines changed

21 files changed

+34
-26
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
// https://github.com/devcontainers/features/blob/main/src/dotnet/README.md
2525
"ghcr.io/devcontainers/features/dotnet:2": {
2626
"version": "8.0",
27-
"additionalVersions": "6.0, 7.0"
27+
"additionalVersions": "6.0"
2828
}
2929
},
3030
"overrideFeatureInstallOrder": [

.github/workflows/build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ jobs:
3030
global-json-file: global.json
3131
dotnet-version: |
3232
8.x
33-
7.x
3433
6.x
3534
# Build on mac/linux
3635
- name: Build via Bash

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ IcedTasks | [![NuGet Badge](https://buildstats.info/nuget/IcedTasks)](https://ww
277277

278278
Make sure the following **requirements** are installed on your system:
279279

280-
- [dotnet SDK](https://www.microsoft.com/net/download/core) 7.0 or higher
280+
- [dotnet SDK](https://www.microsoft.com/net/download/core) 6.0 & 8.0
281281

282282
or
283283

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>
4-
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
4+
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<IsPackable>false</IsPackable>
88
</PropertyGroup>
99

1010
<Import Project="..\..\.paket\Paket.Restore.targets" />
11-
</Project>
11+
</Project>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
dotnet run -c Release -f net7.0 -- --filter "*IcedTasks.Benchmarks.AsyncCompletionBenchmarks*"
1+
dotnet run -c Release -f net8.0 -- --filter "*IcedTasks.Benchmarks.AsyncCompletionBenchmarks*"

benchmarks/FSharpBenchmarks/benchmarks.fsproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
4+
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
55
</PropertyGroup>
66
<PropertyGroup>
77
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
@@ -25,4 +25,4 @@
2525
<ProjectReference Include="..\CSharpTaskBenchmarks\CSharpTaskBenchmarks.csproj" />
2626
</ItemGroup>
2727
<Import Project="..\..\.paket\Paket.Restore.targets" />
28-
</Project>
28+
</Project>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
dotnet run -c Release -f net7.0 -- --filter "*IcedTasks.Benchmarks.FileWriteBenchmarks*" --runtimes net6.0 net7.0
1+
dotnet run -c Release -f net8.0 -- --filter "*IcedTasks.Benchmarks.FileWriteBenchmarks*" --runtimes net6.0 net8.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
dotnet run -c Release -f net7.0 -- --filter "*IcedTasks.Benchmarks.SyncCompletionBenchmarks*"
1+
dotnet run -c Release -f net8.0 -- --filter "*IcedTasks.Benchmarks.SyncCompletionBenchmarks*"

build/build.fsproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net7.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<WarnOn>3390;$(WarnOn)</WarnOn>
77
<IsPackable>false</IsPackable>
88
</PropertyGroup>
@@ -12,4 +12,4 @@
1212
<Compile Include="build.fs" />
1313
</ItemGroup>
1414
<Import Project="..\.paket\Paket.Restore.targets" />
15-
</Project>
15+
</Project>

examples/DatabaseDemo/DatabaseDemo.fsproj

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>net7.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

0 commit comments

Comments
 (0)