Skip to content

Commit

Permalink
upgrade to .NET 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb committed Mar 25, 2024
1 parent 92e632b commit 94e1f96
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 20 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/pr_validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@ jobs:
run: chmod +x ./build.cmd
- uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.*
- uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.*
dotnet-version: 8.0.*
- name: Cache .nuke/temp, ~/.nuget/packages
uses: actions/cache@v2
with:
Expand All @@ -64,10 +61,7 @@ jobs:
run: chmod +x ./build.cmd
- uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.*
- uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.*
dotnet-version: 8.0.*
- name: Cache .nuke/temp, ~/.nuget/packages
uses: actions/cache@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion build/_build.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace></RootNamespace>
<NoWarn>CS0649;CS0169</NoWarn>
<NukeRootDirectory>..</NukeRootDirectory>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM mcr.microsoft.com/dotnet/runtime:6.0
FROM mcr.microsoft.com/dotnet/runtime:8.0
WORKDIR /app

COPY ./bin/Release/net6.0/publish/ /app
COPY ./bin/Release/net8.0/publish/ /app

CMD ["dotnet", "Akka.SqlInitContainer.dll"]
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<NoWarn>$(NoWarn);CS1591</NoWarn>
</PropertyGroup>
<PropertyGroup>
<NetRuntime>net6.0</NetRuntime>
<NetRuntime>net8.0</NetRuntime>
<XunitVersion>2.4.2</XunitVersion>
<TestSdkVersion>17.6.0</TestSdkVersion>
<AkkaVersion>1.5.15</AkkaVersion>
Expand Down
4 changes: 2 additions & 2 deletions src/clustering/sharding-sqlserver/SqlSharding.Host/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM mcr.microsoft.com/dotnet/runtime:6.0
FROM mcr.microsoft.com/dotnet/runtime:8.0
WORKDIR /app

COPY ./bin/Release/net6.0/publish/ /app
COPY ./bin/Release/net8.0/publish/ /app

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

COPY ./bin/Release/net6.0/publish/ /app
COPY ./bin/Release/net8.0/publish/ /app

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

COPY ./bin/Release/net6.0/publish/ /app
COPY ./bin/Release/net8.0/publish/ /app

CMD ["dotnet", "SqlSharding.WebApp.dll"]
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down

0 comments on commit 94e1f96

Please sign in to comment.