diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6eec909..63ded23 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ on: branches: - master env: - DOTNET_VERSION: '8.x' + DOTNET_VERSION: '10.x' jobs: testing: diff --git a/Dockerfile b/Dockerfile index 8a0182e..fbc23c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build WORKDIR /src COPY src/Playtesters.API.csproj ./ @@ -7,7 +7,7 @@ RUN dotnet restore COPY src/. ./ RUN dotnet publish -c Release -o /app/publish --no-restore -FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime +FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS runtime WORKDIR /app COPY --from=build /app/publish . ENTRYPOINT ["dotnet", "Playtesters.API.dll"] diff --git a/src/Playtesters.API.csproj b/src/Playtesters.API.csproj index 99ed5fc..2e261af 100644 --- a/src/Playtesters.API.csproj +++ b/src/Playtesters.API.csproj @@ -1,7 +1,7 @@  - net8.0 + net10.0 disable enable @@ -9,13 +9,13 @@ - + - - + + diff --git a/tests/Playtesters.API.Tests.csproj b/tests/Playtesters.API.Tests.csproj index 4394c2c..1df2196 100644 --- a/tests/Playtesters.API.Tests.csproj +++ b/tests/Playtesters.API.Tests.csproj @@ -1,7 +1,7 @@  - net8.0 + net10.0 enable disable true @@ -16,8 +16,8 @@ - - + +