Skip to content

Commit f1b8636

Browse files
authored
feat: Add .NET 10 support (#46)
1 parent 50c321a commit f1b8636

File tree

8 files changed

+12
-11
lines changed

8 files changed

+12
-11
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,21 @@ on:
77

88
jobs:
99
build:
10-
runs-on: ubuntu-22.04
10+
runs-on: ubuntu-24.04
1111
strategy:
1212
matrix:
1313
framework:
1414
- net8.0
1515
- net9.0
16+
- net10.0
1617
steps:
1718
- uses: actions/checkout@v4
1819
with:
1920
fetch-depth: 0
2021
- name: Setup .NET Core
2122
uses: actions/setup-dotnet@v4
2223
with:
23-
dotnet-version: 9.x
24+
dotnet-version: 10.x
2425
- name: Build
2526
run: dotnet build -c Release --framework ${{ matrix.framework }}
2627
- name: Test

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ permissions:
1010

1111
jobs:
1212
build:
13-
runs-on: ubuntu-22.04
13+
runs-on: ubuntu-24.04
1414
steps:
1515
- uses: actions/checkout@v4
1616
with:
1717
fetch-depth: 0
1818
- name: Setup .NET Core
1919
uses: actions/setup-dotnet@v4
2020
with:
21-
dotnet-version: 9.x
21+
dotnet-version: 10.x
2222
- name: Install NBGV tool
2323
run: dotnet tool install --tool-path . nbgv
2424
- name: Set Version

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<LangVersion>latest</LangVersion>
44
</PropertyGroup>
5-
<!-- Strong-naming -->
5+
<!-- Strong-naming -->
66
<PropertyGroup Label="Signing">
77
<DebugType>embedded</DebugType>
88
<SignAssembly>true</SignAssembly>

src/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<PropertyGroup>
66
<IsPackable>true</IsPackable>
7-
<TargetFrameworks>net8.0;net9.0;netstandard2.0;netstandard2.1</TargetFrameworks>
7+
<TargetFrameworks>net8.0;net9.0;net10.0;netstandard2.0;netstandard2.1</TargetFrameworks>
88
<Copyright>Copyright (c) .NET Foundation and Contributors; Andre Hofmeister</Copyright>
99
<PackageTags>Docker Container C# .NET</PackageTags>
1010
<RepositoryType>git</RepositoryType>

src/Docker.DotNet.X509/Docker.DotNet.X509.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<PackageId>Docker.DotNet.Enhanced.X509</PackageId>
55
<Description>Docker.DotNet.X509 is a library that allows you to use certificate authentication with a remote Docker engine programmatically in your .NET applications.</Description>
66
</PropertyGroup>
7-
<ItemGroup Condition="$(TargetFrameworkIdentifier) == '.NETStandard'">
7+
<ItemGroup Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' ">
88
<PackageReference Include="BouncyCastle.Cryptography" Version="2.5.1" />
99
</ItemGroup>
1010
<ItemGroup>

src/Docker.DotNet/Docker.DotNet.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
<ItemGroup>
88
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.3" />
99
</ItemGroup>
10-
<ItemGroup Condition="$(TargetFramework) == 'net8.0'">
10+
<ItemGroup Condition=" '$(TargetFramework)' == 'net8.0' ">
1111
<PackageReference Include="System.IO.Pipelines" Version="8.0.0" />
1212
</ItemGroup>
13-
<ItemGroup Condition="$(TargetFrameworkIdentifier) == '.NETStandard'">
13+
<ItemGroup Condition=" '$(TargetFrameworkIdentifier)' == '.NETStandard' ">
1414
<PackageReference Include="System.IO.Pipelines" Version="8.0.0" />
1515
<PackageReference Include="System.Net.Http.Json" Version="8.0.1" />
1616
<PackageReference Include="System.Text.Json" Version="8.0.5" />

test/Docker.DotNet.Tests/Docker.DotNet.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
3+
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
44
<IsPackable>false</IsPackable>
55
<IsPublishable>false</IsPublishable>
66
</PropertyGroup>

version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
3-
"version": "3.129.0",
3+
"version": "3.130.0",
44
"nugetPackageVersion": {
55
"semVer": 2
66
},

0 commit comments

Comments
 (0)