Skip to content

Commit d8e2146

Browse files
committed
feat: Update to net10
1 parent 63bdd1b commit d8e2146

File tree

7 files changed

+9
-2
lines changed

7 files changed

+9
-2
lines changed

.github/workflows/codeql.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
dotnet-version: |
3030
8.0.x
3131
9.0.x
32+
10.0.x
3233
3334
- name: Initialize CodeQL
3435
uses: github/codeql-action/init@v3

.github/workflows/create-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
dotnet-version: |
5555
8.0.x
5656
9.0.x
57+
10.0.x
5758
5859
- name: Update CHANGELOG file
5960
if: github.event.inputs.prerelease == 'false'

.github/workflows/dotnet.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
dotnet-version: |
3232
8.0.x
3333
9.0.x
34+
10.0.x
3435
3536
- name: Restore dependencies
3637
run: dotnet restore

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ All notable changes to **NCronJob** will be documented in this file. The project
99
### Added
1010

1111
- `IJobExecutionContext` exposes how the job was started. Reported by [@kikisaeba](https://github.com/kikisaeba) in [#261](https://github.com/NCronJob-Dev/NCronJob/issues/261). Fixed by [@linkdotnet](https://github.com/linkdotnet)
12+
- `net10.0` support.
1213

1314
### Changed
1415

Directory.Packages.props

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
<ItemGroup Label="NCronJob NET9 dependencies" Condition="'$(TargetFramework)' == 'net9.0'">
1717
<PackageVersion Include="Microsoft.Extensions.Hosting.Abstractions" Version="9.0.6" />
1818
</ItemGroup>
19+
<ItemGroup Label="NCronJob NET9 dependencies" Condition="'$(TargetFramework)' == 'net10.0'">
20+
<PackageVersion Include="Microsoft.Extensions.Hosting.Abstractions" Version="10.0.0-preview.5.25277.114" />
21+
</ItemGroup>
1922
<ItemGroup Label="Samples">
2023
<PackageVersion Include="Microsoft.AspNetCore.OpenApi" Version="8.0.16" />
2124
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="9.0.6" />

src/NCronJob/NCronJob.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>net8.0;net9.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<RootNamespace>NCronJob</RootNamespace>

tests/NCronJob.Tests/NCronJob.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-
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<IsPackable>false</IsPackable>

0 commit comments

Comments
 (0)