Skip to content

Commit 0e64d41

Browse files
committed
#191 - update to .NET 10
1 parent d087b15 commit 0e64d41

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/develop.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Setup .NET
2828
uses: actions/setup-dotnet@v5
2929
with:
30-
dotnet-version: 9.0.x
30+
dotnet-version: 10.0.x
3131
- name: Setup GitVersion
3232
uses: gittools/actions/gitversion/[email protected]
3333
with:
@@ -59,7 +59,7 @@ jobs:
5959
if: github.event_name == 'pull_request'
6060
uses: 5monkeys/cobertura-action@master
6161
with:
62-
path: ./tests/HydraScript.IntegrationTests/bin/Debug/net9.0/TestResults/coverage.cobertura.xml
62+
path: ./tests/HydraScript.IntegrationTests/bin/Debug/net10.0/TestResults/coverage.cobertura.xml
6363
repo_token: ${{ secrets.GITHUB_TOKEN }}
6464
minimum_coverage: 80
6565
fail_below_threshold: true
@@ -71,7 +71,7 @@ jobs:
7171
- name: ReportGenerator
7272
uses: danielpalme/[email protected]
7373
with:
74-
reports: './tests/HydraScript.IntegrationTests/bin/Debug/net9.0/TestResults/coverage.cobertura.xml'
74+
reports: './tests/HydraScript.IntegrationTests/bin/Debug/net10.0/TestResults/coverage.cobertura.xml'
7575
targetdir: './coverage-report'
7676
- name: Upload coverage report artifact
7777
if: github.event_name == 'push'
@@ -84,4 +84,4 @@ jobs:
8484
uses: actions/upload-artifact@v4
8585
with:
8686
name: windows_build_${{ steps.version_step.outputs.fullSemVer }}
87-
path: ./src/HydraScript/bin/Debug/net9.0
87+
path: ./src/HydraScript/bin/Debug/net10.0

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
- name: Setup .NET
6363
uses: actions/setup-dotnet@v5
6464
with:
65-
dotnet-version: '9.0.x'
65+
dotnet-version: 10.0.x
6666
- name: Setup GitReleaseManager
6767
uses: gittools/actions/gitreleasemanager/[email protected]
6868
with:

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project>
22
<PropertyGroup>
3-
<TargetFramework>net9.0</TargetFramework>
3+
<TargetFramework>net10.0</TargetFramework>
44
<ImplicitUsings>enable</ImplicitUsings>
55
<Nullable>enable</Nullable>
66
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>

benchmarks/HydraScript.Benchmarks/InvokeBenchmark.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313

1414
BenchmarkRunner.Run<InvokeBenchmark>();
1515

16-
[SimpleJob(RuntimeMoniker.Net90)]
17-
[SimpleJob(RuntimeMoniker.NativeAot90)]
16+
[SimpleJob(RuntimeMoniker.Net10_0)]
17+
[SimpleJob(RuntimeMoniker.NativeAot10_0)]
1818
[MemoryDiagnoser]
1919
public class InvokeBenchmark
2020
{

0 commit comments

Comments
 (0)