diff --git a/.github/workflows/lang-csharp-efcore.yml b/.github/workflows/lang-csharp-efcore.yml index 51b78584..7d6b352c 100644 --- a/.github/workflows/lang-csharp-efcore.yml +++ b/.github/workflows/lang-csharp-efcore.yml @@ -49,13 +49,16 @@ jobs: npgsql-version: [ '8.*', '9.*', - # error: NU1202: Package Npgsql.EntityFrameworkCore.PostgreSQL 10.0.0-rc.2 - # is not compatible with net9.0 (.NETCoreApp,Version=v9.0). - # Package Npgsql.EntityFrameworkCore.PostgreSQL 10.0.0-rc.2 supports: net10.0 - # 'prerelease', ] cratedb-version: [ 'nightly' ] + # Npgsql.EntityFrameworkCore.PostgreSQL 10.0.0 needs .NET10. + include: + - dotnet-version: '10.x' + npgsql-version: '10.*' + - dotnet-version: '10.x' + npgsql-version: 'prerelease' + # https://docs.github.com/en/free-pro-team@latest/actions/guides/about-service-containers services: cratedb: diff --git a/.github/workflows/lang-csharp-npgsql.yml b/.github/workflows/lang-csharp-npgsql.yml index a93b4a6f..cefb7d39 100644 --- a/.github/workflows/lang-csharp-npgsql.yml +++ b/.github/workflows/lang-csharp-npgsql.yml @@ -49,6 +49,7 @@ jobs: npgsql-version: [ '8.*', '9.*', + '10.*', 'prerelease', ] cratedb-version: [ 'nightly' ] diff --git a/by-language/csharp-efcore/demo.csproj b/by-language/csharp-efcore/demo.csproj index 0f201ba3..2d0d0f13 100644 --- a/by-language/csharp-efcore/demo.csproj +++ b/by-language/csharp-efcore/demo.csproj @@ -11,7 +11,7 @@ - + diff --git a/by-language/csharp-npgsql/demo.csproj b/by-language/csharp-npgsql/demo.csproj index 56f8c80d..13120737 100644 --- a/by-language/csharp-npgsql/demo.csproj +++ b/by-language/csharp-npgsql/demo.csproj @@ -10,7 +10,7 @@ - +