Skip to content

Commit 13f9705

Browse files
authored
feat: update .net & mongodb (#28)
use .net 10 for build & upgrade MongoDB.Bson
1 parent e3af602 commit 13f9705

7 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/on-push-branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup .NET Core
1818
uses: actions/setup-dotnet@v4.2.0
1919
with:
20-
dotnet-version: 9.0.203
20+
dotnet-version: 10.0.100
2121

2222
- name: Build & Test
2323
run: make test config=Release

.github/workflows/on-push-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Setup .NET Core
2525
uses: actions/setup-dotnet@v4.2.0
2626
with:
27-
dotnet-version: 9.0.203
27+
dotnet-version: 10.0.100
2828

2929
- name: Extract Version Suffix
3030
run: |

.github/workflows/on-release-published.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Setup .NET Core
1414
uses: actions/setup-dotnet@v4.2.0
1515
with:
16-
dotnet-version: 9.0.203
16+
dotnet-version: 10.0.100
1717

1818
- name: Download Release artifacts
1919
uses: robinraju/release-downloader@v1.11

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"sdk": {
3-
"version": "9.0.203"
3+
"version": "10.0.100"
44
}
55
}

src/FSharp.MongoDB.Bson/FSharp.MongoDB.Bson.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

33
<PropertyGroup>
4-
<TargetFrameworks>net9.0;net8.0;netstandard2.1</TargetFrameworks>
4+
<TargetFrameworks>net10.0;net9.0;net8.0;netstandard2.1</TargetFrameworks>
55
<GenerateDocumentationFile>true</GenerateDocumentationFile>
66
<Nullable>enable</Nullable>
77
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
@@ -26,7 +26,7 @@
2626
</ItemGroup>
2727

2828
<ItemGroup>
29-
<PackageReference Include="MongoDB.Bson" Version="3.4.0" />
29+
<PackageReference Include="MongoDB.Bson" Version="3.6.0" />
3030
</ItemGroup>
3131

3232
<PropertyGroup>

tests/CSharpDataModels/CSharpDataModels.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="MongoDB.Bson" Version="3.4.0" />
11+
<PackageReference Include="MongoDB.Bson" Version="3.6.0" />
1212
</ItemGroup>
1313

1414
</Project>

tests/FSharp.MongoDB.Bson.Tests/FSharp.MongoDB.Bson.Tests.fsproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626
</ItemGroup>
2727

2828
<ItemGroup>
29-
<PackageReference Include="FsUnit" Version="7.0.1" />
30-
<PackageReference Include="NUnit" Version="4.3.2" />
31-
<PackageReference Include="NUnit3TestAdapter" Version="5.0.0" />
32-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.0" />
33-
<PackageReference Include="MongoDB.Bson" Version="3.4.0" />
29+
<PackageReference Include="FsUnit" Version="7.1.1" />
30+
<PackageReference Include="NUnit" Version="4.4.0" />
31+
<PackageReference Include="NUnit3TestAdapter" Version="6.1.0" />
32+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
33+
<PackageReference Include="MongoDB.Bson" Version="3.6.0" />
3434
</ItemGroup>
3535

3636
</Project>

0 commit comments

Comments
 (0)