Skip to content

Commit d2026ca

Browse files
Update Docker runtime and publish profile to .NET 10
1 parent e019574 commit d2026ca

File tree

16 files changed

+51
-30
lines changed

16 files changed

+51
-30
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: "🧰 Setup .NET"
3636
uses: actions/setup-dotnet@v5
3737
with:
38-
dotnet-version: 9.x
38+
dotnet-version: 10.x
3939

4040
- name: "🏗️ Build Arius.Cli"
4141
run: dotnet build Arius.Cli/Arius.Cli.csproj --configuration Release
@@ -79,7 +79,7 @@ jobs:
7979
- name: "🧰 Setup .NET"
8080
uses: actions/setup-dotnet@v5
8181
with:
82-
dotnet-version: 9.x
82+
dotnet-version: 10.x
8383

8484
- name: "🧮 Determine version"
8585
id: get_version
@@ -164,7 +164,7 @@ jobs:
164164
- name: "🧰 Setup .NET"
165165
uses: actions/setup-dotnet@v5
166166
with:
167-
dotnet-version: 9.x
167+
dotnet-version: 10.x
168168

169169
- name: "🧪 Run Arius.Explorer & Core Tests"
170170
env:
@@ -205,7 +205,7 @@ jobs:
205205
- name: "🧰 Setup .NET"
206206
uses: actions/setup-dotnet@v5
207207
with:
208-
dotnet-version: 9.x
208+
dotnet-version: 10.x
209209

210210
- name: "🧮 Determine version"
211211
run: |

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Setup .NET
3939
uses: actions/setup-dotnet@v5
4040
with:
41-
dotnet-version: 9.x
41+
dotnet-version: 10.x
4242
- name: Initialize CodeQL
4343
uses: github/codeql-action/init@v4
4444
with:

src/Arius.Benchmarks/Arius.Benchmarks.csproj

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

88
<ItemGroup>

src/Arius.Cli.Tests/Arius.Cli.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-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55

66
<IsPackable>false</IsPackable>
77
<IsTestProject>true</IsTestProject>

src/Arius.Cli/Arius.Cli.csproj

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>net9.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<UserSecretsId>2c53e63e-555d-44f4-a474-29c01fb8c564</UserSecretsId>
77
<AssemblyName>arius</AssemblyName>
88

src/Arius.Cli/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/runtime:9.0
1+
FROM mcr.microsoft.com/dotnet/runtime:10.0
22
WORKDIR /app
33

44
# Copy the prebuilt artifacts into the image

src/Arius.Core.DbMigrationV3V5/Arius.Core.DbMigrationV3V5.csproj

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>net9.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<UserSecretsId>1ce3e36f-cb01-4aac-bf1a-e2c0cebdd61c</UserSecretsId>
77
</PropertyGroup>
88

src/Arius.Core.Tests/Arius.Core.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-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55

66
<IsPackable>false</IsPackable>
77
<IsTestProject>true</IsTestProject>

src/Arius.Core/Arius.Core.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
</PropertyGroup>
66

77
<ItemGroup>
@@ -17,7 +17,6 @@
1717
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
1818
</PackageReference>
1919
<PackageReference Include="Microsoft.Extensions.Options.DataAnnotations" />
20-
<PackageReference Include="System.Linq.Async" />
2120
<PackageReference Include="Zio" />
2221
<!--<PrivateAssets>compile;build;buildTransitive;contentFiles;analyzers;native</PrivateAssets>-->
2322

src/Arius.Core/Features/Queries/PointerFileEntries/PointerFileEntriesQueryHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public async IAsyncEnumerable<PointerFileEntriesQueryResult> Handle(PointerFileE
3333
}
3434
}
3535

36-
internal async IAsyncEnumerable<PointerFileEntriesQueryResult> Handle(HandlerContext handlerContext, CancellationToken cancellationToken)
36+
internal async IAsyncEnumerable<PointerFileEntriesQueryResult> Handle(HandlerContext handlerContext, [EnumeratorCancellation] CancellationToken cancellationToken)
3737
{
3838
var resultChannel = Channel.CreateUnbounded<PointerFileEntriesQueryResult>(new UnboundedChannelOptions
3939
{

0 commit comments

Comments
 (0)