diff --git a/.github/workflows/lang-csharp-efcore.yml b/.github/workflows/lang-csharp-efcore.yml index 2aa655cd..c9c05638 100644 --- a/.github/workflows/lang-csharp-efcore.yml +++ b/.github/workflows/lang-csharp-efcore.yml @@ -45,6 +45,7 @@ jobs: '8.x', '9.x', '10.x', + '11.x', ] npgsql-version: [ '8.*', @@ -54,8 +55,9 @@ jobs: ] cratedb-version: [ 'nightly' ] - # Npgsql.EntityFrameworkCore.PostgreSQL 10.0.0 and higher needs .NET10. exclude: + + # Npgsql.EntityFrameworkCore.PostgreSQL 10.0.0 and higher needs .NET10. - dotnet-version: '8.x' npgsql-version: '10.*' - dotnet-version: '8.x' @@ -65,6 +67,14 @@ jobs: - dotnet-version: '9.x' npgsql-version: 'prerelease' + # Npgsql.EntityFrameworkCore.PostgreSQL 11.0.0 is not compatible with .NET10. + - dotnet-version: '10.x' + npgsql-version: 'prerelease' + + # Npgsql.EntityFrameworkCore.PostgreSQL 10.0.0 is not compatible with .NET11. + - dotnet-version: '11.x' + npgsql-version: '10.*' + # 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 f5a93d92..24162eeb 100644 --- a/.github/workflows/lang-csharp-npgsql.yml +++ b/.github/workflows/lang-csharp-npgsql.yml @@ -45,6 +45,7 @@ jobs: '8.x', '9.x', '10.x', + '11.x', ] npgsql-version: [ '8.*', @@ -54,6 +55,14 @@ jobs: ] cratedb-version: [ 'nightly' ] + exclude: + + # .NET11 needs Npgsql.PostgreSQL 10.0.0 and higher. + - dotnet-version: '11.x' + npgsql-version: '8.*' + - dotnet-version: '11.x' + npgsql-version: '9.*' + # https://docs.github.com/en/free-pro-team@latest/actions/guides/about-service-containers services: cratedb: