From 923ff8e7a87a8e4a4e8536d6ca40abdd3643e2ef Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 25 Apr 2026 14:07:33 +0000 Subject: [PATCH 1/2] Add local dotnet tool manifest Agent-Logs-Url: https://github.com/IntelliTect/EssentialCSharp.Web/sessions/9b04f6f3-5e68-4c08-af16-34313a9169d1 Co-authored-by: BenjaminMichaelis <22186029+BenjaminMichaelis@users.noreply.github.com> --- .config/dotnet-tools.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .config/dotnet-tools.json diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json new file mode 100644 index 00000000..3778b0fc --- /dev/null +++ b/.config/dotnet-tools.json @@ -0,0 +1,20 @@ +{ + "version": 1, + "isRoot": true, + "tools": { + "dotnet-ef": { + "version": "10.0.7", + "commands": [ + "dotnet-ef" + ], + "rollForward": false + }, + "trx-to-vsplaylist": { + "version": "1.3.0", + "commands": [ + "trx-to-vsplaylist" + ], + "rollForward": false + } + } +} \ No newline at end of file From 388633884c7417cd5a891c2af4492efc1e2cd05f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 25 Apr 2026 16:11:29 +0000 Subject: [PATCH 2/2] Add EF migration drift check to PR workflow Agent-Logs-Url: https://github.com/IntelliTect/EssentialCSharp.Web/sessions/3732bf6c-e6ba-4e30-a7e4-83933137a7fc Co-authored-by: BenjaminMichaelis <22186029+BenjaminMichaelis@users.noreply.github.com> --- .github/workflows/PR-Build-And-Test.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/PR-Build-And-Test.yml b/.github/workflows/PR-Build-And-Test.yml index 6da97804..af2f3b70 100644 --- a/.github/workflows/PR-Build-And-Test.yml +++ b/.github/workflows/PR-Build-And-Test.yml @@ -31,9 +31,17 @@ jobs: - name: Restore with dotnet run: dotnet restore /p:AccessToNugetFeed=false + - name: Restore local dotnet tools + run: dotnet tool restore + - name: Build with dotnet run: dotnet build --configuration Release --no-restore /p:AccessToNugetFeed=false + - name: Check for pending EF Core model changes + run: dotnet ef migrations has-pending-model-changes --project EssentialCSharp.Web --configuration Release --no-build + env: + ASPNETCORE_ENVIRONMENT: Development + - name: Expose GitHub Actions Runtime uses: actions/github-script@v9 with: