File tree Expand file tree Collapse file tree 6 files changed +8
-7
lines changed Expand file tree Collapse file tree 6 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1515 strategy :
1616 matrix :
1717 os : ["ubuntu-latest", "windows-latest"]
18- dotnet : ["8 .0.x"]
18+ dotnet : ["9 .0.x"]
1919 steps :
2020 - uses : actions/checkout@v4
2121 - name : Setup .NET ${{ matrix.dotnet }}
Original file line number Diff line number Diff line change 55 <ItemGroup >
66 <PackageVersion Include =" Asp.Versioning.Http" Version =" 8.1.0" />
77 <PackageVersion Include =" Asp.Versioning.Mvc.ApiExplorer" Version =" 8.1.0" />
8- <PackageVersion Include =" Microsoft.AspNetCore.OpenApi" Version =" 8 .0.10 " />
8+ <PackageVersion Include =" Microsoft.AspNetCore.OpenApi" Version =" 9 .0.0-rc.2.24474.3 " />
99 <PackageVersion Include =" Serilog" Version =" 4.1.0" />
1010 <PackageVersion Include =" Serilog.Extensions.Hosting" Version =" 8.0.0" />
1111 <PackageVersion Include =" Serilog.Sinks.Console" Version =" 6.0.0" />
Original file line number Diff line number Diff line change 11<Project >
22 <PropertyGroup >
3- <TargetFramework >net8 .0</TargetFramework >
3+ <TargetFramework >net9 .0</TargetFramework >
44 <Nullable >enable</Nullable >
55 <LangVersion >latest</LangVersion >
66 <ImplicitUsings >enable</ImplicitUsings >
Original file line number Diff line number Diff line change 1- FROM mcr.microsoft.com/dotnet/sdk:8 .0-alpine AS build
1+ FROM mcr.microsoft.com/dotnet/sdk:9 .0-alpine AS build
22
33WORKDIR /app
44
@@ -9,7 +9,7 @@ RUN dotnet restore ./Api/Api.csproj
99
1010RUN dotnet publish ./Api/Api.csproj -c Release -o /app/publish
1111
12- FROM mcr.microsoft.com/dotnet/aspnet:8 .0-alpine
12+ FROM mcr.microsoft.com/dotnet/aspnet:9 .0-alpine
1313
1414COPY --from=build /app/publish .
1515
Original file line number Diff line number Diff line change @@ -20,5 +20,6 @@ Endpoints:
2020- /buyandsell
2121
2222Tools used:
23- - .NET SDK
23+
24+ - .NET 9 SDK
2425- Docker
Original file line number Diff line number Diff line change 44 </PropertyGroup >
55 <ItemGroup >
66 <PackageVersion Include =" FluentAssertions" Version =" 6.12.1" />
7- <PackageVersion Include =" Microsoft.AspNetCore.Mvc.Testing" Version =" 8 .0.10 " />
7+ <PackageVersion Include =" Microsoft.AspNetCore.Mvc.Testing" Version =" 9 .0.0-rc.2.24474.3 " />
88 <PackageVersion Include =" Microsoft.NET.Test.Sdk" Version =" 17.11.1" />
99 <PackageVersion Include =" NSubstitute" Version =" 5.3.0" />
1010 <PackageVersion Include =" xunit" Version =" 2.9.2" />
You can’t perform that action at this time.
0 commit comments