Skip to content

Commit a9aa041

Browse files
committed
upgrading to dotnet 10
1 parent 444191c commit a9aa041

File tree

28 files changed

+36
-36
lines changed

28 files changed

+36
-36
lines changed

.github/workflows/composite/build-push/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ runs:
3030
- name: Setup .NET
3131
uses: actions/setup-dotnet@v3
3232
with:
33-
dotnet-version: 9.0.x
33+
dotnet-version: 10.0.x
3434
- name: Restore dependencies
3535
shell: bash
3636
run: |

src/Services/Basket/Basket.API.IntegrationTests/Basket.API.IntegrationTests.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
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77

src/Services/Basket/Basket.API/Basket.API.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.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>

src/Services/Basket/Basket.API/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM mcr.microsoft.com/dotnet/aspnet:9.0-alpine AS base
1+
FROM mcr.microsoft.com/dotnet/aspnet:10.0-alpine AS base
22
USER $APP_UID
33
WORKDIR /app
44
EXPOSE 8080
55
EXPOSE 8081
66

7-
FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine AS build
7+
FROM mcr.microsoft.com/dotnet/sdk:10.0-alpine AS build
88
ARG BUILD_CONFIGURATION=Release
99
RUN apk update && apk add --no-cache libc6-compat gcompat
1010

src/Services/Catalog/Catalog.API.IntegrationTests/Catalog.API.IntegrationTests.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
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77

src/Services/Catalog/Catalog.API/Catalog.API.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.Web">
22
<PropertyGroup>
3-
<TargetFramework>net9.0</TargetFramework>
3+
<TargetFramework>net10.0</TargetFramework>
44
<Nullable>enable</Nullable>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<UserSecretsId>bec23e4d-21ea-44cd-950c-da07b00c5353</UserSecretsId>

src/Services/Catalog/Catalog.API/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging.
22

3-
FROM mcr.microsoft.com/dotnet/aspnet:9.0-alpine AS base
3+
FROM mcr.microsoft.com/dotnet/aspnet:10.0-alpine AS base
44
USER app
55
WORKDIR /app
66
EXPOSE 8080
77
EXPOSE 8081
88

9-
FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine AS build
9+
FROM mcr.microsoft.com/dotnet/sdk:10.0-alpine AS build
1010
ARG BUILD_CONFIGURATION=Release
1111
WORKDIR /src
1212
COPY ["Services/Catalog/Catalog.API/Catalog.API.csproj", "Services/Catalog/Catalog.API/"]

src/Services/Discount/Discount.Grpc.IntegrationTests/Discount.Grpc.IntegrationTests.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
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77

src/Services/Discount/Discount.Grpc/Discount.Grpc.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.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>

src/Services/Discount/Discount.Grpc/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM mcr.microsoft.com/dotnet/aspnet:9.0-alpine AS base
1+
FROM mcr.microsoft.com/dotnet/aspnet:10.0-alpine AS base
22
USER $APP_UID
33
WORKDIR /app
44
EXPOSE 8080
55
EXPOSE 8081
66

7-
FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine AS build
7+
FROM mcr.microsoft.com/dotnet/sdk:10.0-alpine AS build
88
ARG BUILD_CONFIGURATION=Release
99

1010
# Install necessary dependencies for protoc

0 commit comments

Comments
 (0)