diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e142489..5407b0c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ on: branches: [main, develop] env: - DOTNET_VERSION: '8.0.x' + DOTNET_VERSION: '10.0.x' DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true DOTNET_CLI_TELEMETRY_OPTOUT: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3541425..4a3e8ad 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,7 +5,7 @@ on: tags: ['v*'] env: - DOTNET_VERSION: '8.0.x' + DOTNET_VERSION: '10.0.x' jobs: release: diff --git a/Dockerfile b/Dockerfile index 31a4eff..726f7fc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build stage -FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build WORKDIR /src # Copy project files for restore @@ -18,7 +18,7 @@ COPY src/ src/ RUN dotnet publish src/OrderMonitor.Api/OrderMonitor.Api.csproj -c Release -o /app/publish # Runtime stage -FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime +FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS runtime WORKDIR /app # Copy published app diff --git a/global.json b/global.json new file mode 100644 index 0000000..067010d --- /dev/null +++ b/global.json @@ -0,0 +1,6 @@ +{ + "sdk": { + "version": "10.0.102", + "rollForward": "latestFeature" + } +} diff --git a/src/OrderMonitor.Api/OrderMonitor.Api.csproj b/src/OrderMonitor.Api/OrderMonitor.Api.csproj index 4fc0a6d..278c7aa 100644 --- a/src/OrderMonitor.Api/OrderMonitor.Api.csproj +++ b/src/OrderMonitor.Api/OrderMonitor.Api.csproj @@ -1,15 +1,15 @@ - net8.0 + net10.0 enable enable - + - + diff --git a/src/OrderMonitor.Core/OrderMonitor.Core.csproj b/src/OrderMonitor.Core/OrderMonitor.Core.csproj index fa71b7a..b760144 100644 --- a/src/OrderMonitor.Core/OrderMonitor.Core.csproj +++ b/src/OrderMonitor.Core/OrderMonitor.Core.csproj @@ -1,7 +1,7 @@  - net8.0 + net10.0 enable enable diff --git a/src/OrderMonitor.Infrastructure/OrderMonitor.Infrastructure.csproj b/src/OrderMonitor.Infrastructure/OrderMonitor.Infrastructure.csproj index ed9fc01..f97f257 100644 --- a/src/OrderMonitor.Infrastructure/OrderMonitor.Infrastructure.csproj +++ b/src/OrderMonitor.Infrastructure/OrderMonitor.Infrastructure.csproj @@ -12,7 +12,7 @@ - net8.0 + net10.0 enable enable diff --git a/tests/OrderMonitor.IntegrationTests/OrderMonitor.IntegrationTests.csproj b/tests/OrderMonitor.IntegrationTests/OrderMonitor.IntegrationTests.csproj index 2d39f6e..ab32b95 100644 --- a/tests/OrderMonitor.IntegrationTests/OrderMonitor.IntegrationTests.csproj +++ b/tests/OrderMonitor.IntegrationTests/OrderMonitor.IntegrationTests.csproj @@ -1,7 +1,7 @@ - net8.0 + net10.0 enable enable @@ -12,9 +12,9 @@ - + - + diff --git a/tests/OrderMonitor.UnitTests/OrderMonitor.UnitTests.csproj b/tests/OrderMonitor.UnitTests/OrderMonitor.UnitTests.csproj index 0048611..886220a 100644 --- a/tests/OrderMonitor.UnitTests/OrderMonitor.UnitTests.csproj +++ b/tests/OrderMonitor.UnitTests/OrderMonitor.UnitTests.csproj @@ -1,7 +1,7 @@ - net8.0 + net10.0 enable enable @@ -12,10 +12,10 @@ - + - - + + diff --git a/tools/EncryptPassword/EncryptPassword.csproj b/tools/EncryptPassword/EncryptPassword.csproj index 91b464a..dfb40ca 100644 --- a/tools/EncryptPassword/EncryptPassword.csproj +++ b/tools/EncryptPassword/EncryptPassword.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + net10.0 enable enable