diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 25f43e7..7fcd6dc 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -15,11 +15,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: - dotnet-version: 6.0.x + dotnet-version: 9.0.x - name: Restore dependencies run: dotnet restore - name: Build diff --git a/Dockerfile b/Dockerfile index 20b2ef6..b977745 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base WORKDIR /app EXPOSE 5000 -FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build RUN pwd && ls / WORKDIR /src COPY ["src/WebApi/WebApi.csproj", "src/WebApi/"] diff --git a/src/Application/Application.csproj b/src/Application/Application.csproj index f445bb6..8e861d9 100644 --- a/src/Application/Application.csproj +++ b/src/Application/Application.csproj @@ -1,13 +1,13 @@  - net7.0 + net9.0 enable enable - + diff --git a/src/Domain/Domain.csproj b/src/Domain/Domain.csproj index a1ed5b3..125f4c9 100644 --- a/src/Domain/Domain.csproj +++ b/src/Domain/Domain.csproj @@ -1,7 +1,7 @@  - net7.0 + net9.0 enable enable diff --git a/src/Infrastructure/Infrastructure.csproj b/src/Infrastructure/Infrastructure.csproj index 64bf71d..f753dc3 100644 --- a/src/Infrastructure/Infrastructure.csproj +++ b/src/Infrastructure/Infrastructure.csproj @@ -1,25 +1,25 @@  - net7.0 + net9.0 enable enable - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + diff --git a/src/WebApi/WebApi.csproj b/src/WebApi/WebApi.csproj index 05b4fa4..003c511 100644 --- a/src/WebApi/WebApi.csproj +++ b/src/WebApi/WebApi.csproj @@ -1,19 +1,19 @@  - net7.0 + net9.0 enable enable - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/tests/Application.Tests/Application.Tests.csproj b/tests/Application.Tests/Application.Tests.csproj index d1fb1fb..d92e2a8 100644 --- a/tests/Application.Tests/Application.Tests.csproj +++ b/tests/Application.Tests/Application.Tests.csproj @@ -1,7 +1,7 @@ - net7.0 + net9.0 enable enable @@ -10,14 +10,14 @@ - - - - + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/WebApi.Tests/WebApi.Tests.csproj b/tests/WebApi.Tests/WebApi.Tests.csproj index 6d1e749..31a166f 100644 --- a/tests/WebApi.Tests/WebApi.Tests.csproj +++ b/tests/WebApi.Tests/WebApi.Tests.csproj @@ -1,7 +1,7 @@ - net7.0 + net9.0 enable enable @@ -10,14 +10,14 @@ - - - - + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all