Skip to content

Commit 94e1f96

Browse files
committed
upgrade to .NET 8
1 parent 92e632b commit 94e1f96

File tree

9 files changed

+14
-20
lines changed

9 files changed

+14
-20
lines changed

.github/workflows/pr_validation.yml

+2-8
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,7 @@ jobs:
3838
run: chmod +x ./build.cmd
3939
- uses: actions/setup-dotnet@v1
4040
with:
41-
dotnet-version: 5.0.*
42-
- uses: actions/setup-dotnet@v1
43-
with:
44-
dotnet-version: 6.0.*
41+
dotnet-version: 8.0.*
4542
- name: Cache .nuke/temp, ~/.nuget/packages
4643
uses: actions/cache@v2
4744
with:
@@ -64,10 +61,7 @@ jobs:
6461
run: chmod +x ./build.cmd
6562
- uses: actions/setup-dotnet@v1
6663
with:
67-
dotnet-version: 5.0.*
68-
- uses: actions/setup-dotnet@v1
69-
with:
70-
dotnet-version: 6.0.*
64+
dotnet-version: 8.0.*
7165
- name: Cache .nuke/temp, ~/.nuget/packages
7266
uses: actions/cache@v2
7367
with:

build/_build.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net6.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<RootNamespace></RootNamespace>
77
<NoWarn>CS0649;CS0169</NoWarn>
88
<NukeRootDirectory>..</NukeRootDirectory>
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM mcr.microsoft.com/dotnet/runtime:6.0
1+
FROM mcr.microsoft.com/dotnet/runtime:8.0
22
WORKDIR /app
33

4-
COPY ./bin/Release/net6.0/publish/ /app
4+
COPY ./bin/Release/net8.0/publish/ /app
55

66
CMD ["dotnet", "Akka.SqlInitContainer.dll"]

src/Directory.Build.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<NoWarn>$(NoWarn);CS1591</NoWarn>
1414
</PropertyGroup>
1515
<PropertyGroup>
16-
<NetRuntime>net6.0</NetRuntime>
16+
<NetRuntime>net8.0</NetRuntime>
1717
<XunitVersion>2.4.2</XunitVersion>
1818
<TestSdkVersion>17.6.0</TestSdkVersion>
1919
<AkkaVersion>1.5.15</AkkaVersion>
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM mcr.microsoft.com/dotnet/runtime:6.0
1+
FROM mcr.microsoft.com/dotnet/runtime:8.0
22
WORKDIR /app
33

4-
COPY ./bin/Release/net6.0/publish/ /app
4+
COPY ./bin/Release/net8.0/publish/ /app
55

66
CMD ["dotnet", "SqlSharding.Host.dll"]
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM mcr.microsoft.com/dotnet/runtime:6.0
1+
FROM mcr.microsoft.com/dotnet/runtime:8.0
22
WORKDIR /app
33

4-
COPY ./bin/Release/net6.0/publish/ /app
4+
COPY ./bin/Release/net8.0/publish/ /app
55

66
CMD ["dotnet", "SqlSharding.Host.dll"]
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM mcr.microsoft.com/dotnet/aspnet:6.0
1+
FROM mcr.microsoft.com/dotnet/aspnet:8.0
22
WORKDIR /app
33

4-
COPY ./bin/Release/net6.0/publish/ /app
4+
COPY ./bin/Release/net8.0/publish/ /app
55

66
CMD ["dotnet", "SqlSharding.WebApp.dll"]

src/reliability/rabbitmq-backpressure/ReliableRabbitMQ.Consumer/ReliableRabbitMQ.Consumer.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net6.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
</PropertyGroup>

src/reliability/rabbitmq-backpressure/ReliableRabbitMQ.Producer/ReliableRabbitMQ.Producer.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net6.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
</PropertyGroup>

0 commit comments

Comments
 (0)