Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,19 @@ jobs:
- name: Checkout
uses: actions/checkout@v7

- name: Verify production .NET runtime before deployment
run: |
set -euo pipefail
if ! /usr/bin/dotnet --list-runtimes | grep -E '^Microsoft\.AspNetCore\.App 10\.'; then
echo "ERROR: /usr/bin/dotnet no tiene instalado Microsoft.AspNetCore.App 10.x. Instala el runtime de ASP.NET Core 10 en weirdfish antes de fusionar/desplegar esta migración. No se ha modificado producción."
exit 1
fi

- name: Setup .NET
uses: actions/setup-dotnet@v6
with:
dotnet-version: 10.x

- name: Setup Node
uses: actions/setup-node@v7
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v6
with:
dotnet-version: 8.x
dotnet-version: 10.x

- name: .NET restore
run: dotnet restore Anguloso.Server/Anguloso.Server.csproj
Expand Down
21 changes: 11 additions & 10 deletions Anguloso.Server/Anguloso.Server.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<SpaRoot>..\anguloso.client</SpaRoot>
Expand Down Expand Up @@ -72,21 +72,22 @@
<ItemGroup>
<PackageReference Include="BCrypt.Net-Next" Version="4.2.0" />
<PackageReference Include="Google.Apis.Auth" Version="1.77.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.32" />
<PackageReference Include="Microsoft.AspNetCore.SpaProxy" Version="8.0.32" />
<PackageReference Include="Microsoft.DotNet.Scaffolding.Shared" Version="8.0.23" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.31" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.31">
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="10.0.13" />
<PackageReference Include="Microsoft.AspNetCore.SpaProxy" Version="10.0.13" />
<PackageReference Include="Microsoft.DotNet.Scaffolding.Shared" Version="10.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="10.0.13" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="10.0.13">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.31">
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="10.0.13">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="8.0.23" />
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="8.0.11" />
<PackageReference Include="Pomelo.EntityFrameworkCore.Lolita.PostgreSQL" Version="6.0.5" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="10.0.0" />
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="10.0.3" />
<!-- Corrige CVE-2026-84008 arrastrada transitivamente por las herramientas de scaffolding. -->
<PackageReference Include="System.Security.Cryptography.Pkcs" Version="10.0.13" />
<PackageReference Include="Serilog" Version="4.3.0" />
<PackageReference Include="Serilog.AspNetCore" Version="9.0.0" />
<PackageReference Include="Serilog.Settings.Configuration" Version="9.0.0" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<IsPackable>false</IsPackable>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="8.0.31" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.31" />
<!-- Mantiene el proveedor SQLite/InMemory alineado con EF Core 8.0.31 del servidor. -->
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="8.0.31" />
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="10.0.13" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="10.0.13" />
<!-- Mantiene SQLite/InMemory alineados con EF Core 10 del servidor. -->
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="10.0.13" />
<PackageReference Include="Moq" Version="4.20.72" />
<PackageReference Include="xunit" Version="2.9.2" />
<PackageReference Include="xunit.analyzers" Version="1.18.0" />
Expand Down
Loading