From f89caf386500dfaab2efcff5fe32c970ef2e679e Mon Sep 17 00:00:00 2001 From: Mirko Sekulic Date: Thu, 21 Nov 2024 15:24:58 +0100 Subject: [PATCH] ef core version upgrade --- .../workflows/dotnet-migrations-ensure-compatibility.yaml | 2 +- backend/Migrations.Dockerfile | 2 +- backend/packagegroups/NuGet.props | 4 ++-- backend/src/Designer/Designer.csproj | 6 ------ backend/tests/Designer.Tests/Designer.Tests.csproj | 7 ------- 5 files changed, 4 insertions(+), 17 deletions(-) diff --git a/.github/workflows/dotnet-migrations-ensure-compatibility.yaml b/.github/workflows/dotnet-migrations-ensure-compatibility.yaml index ce5dc94fa09..1ceea0f0d55 100644 --- a/.github/workflows/dotnet-migrations-ensure-compatibility.yaml +++ b/.github/workflows/dotnet-migrations-ensure-compatibility.yaml @@ -26,7 +26,7 @@ jobs: - uses: actions/checkout@v4 - name: Install dotnet ef # Version should be the same as Migrations docker file and project - run: dotnet tool install --version 8.0.7 --global dotnet-ef + run: dotnet tool install --version 9.0.0 --global dotnet-ef - name: Check if migrations script can be generated run: | diff --git a/backend/Migrations.Dockerfile b/backend/Migrations.Dockerfile index 6523121e42b..09569daacc0 100644 --- a/backend/Migrations.Dockerfile +++ b/backend/Migrations.Dockerfile @@ -4,7 +4,7 @@ WORKDIR /app COPY . . -RUN dotnet tool install --version 8.0.7 --global dotnet-ef +RUN dotnet tool install --version 9.0.0 --global dotnet-ef ENV PATH="$PATH:/root/.dotnet/tools" ENV OidcLoginSettings__FetchClientIdAndSecretFromRootEnvFile=false diff --git a/backend/packagegroups/NuGet.props b/backend/packagegroups/NuGet.props index 389193bbd30..7aa6307c86f 100644 --- a/backend/packagegroups/NuGet.props +++ b/backend/packagegroups/NuGet.props @@ -29,8 +29,8 @@ - - + + diff --git a/backend/src/Designer/Designer.csproj b/backend/src/Designer/Designer.csproj index 341117518d1..c52469b77f6 100644 --- a/backend/src/Designer/Designer.csproj +++ b/backend/src/Designer/Designer.csproj @@ -14,10 +14,6 @@ Release;Debug - - 4.5.0 - - @@ -59,8 +55,6 @@ - - diff --git a/backend/tests/Designer.Tests/Designer.Tests.csproj b/backend/tests/Designer.Tests/Designer.Tests.csproj index daf49e71bcd..3598a50a8dd 100644 --- a/backend/tests/Designer.Tests/Designer.Tests.csproj +++ b/backend/tests/Designer.Tests/Designer.Tests.csproj @@ -10,10 +10,6 @@ test-repo- - - 4.5.0 - - @@ -37,9 +33,6 @@ - - -