Skip to content

Commit 045cab5

Browse files
committed
CI: Validate .NET 11
1 parent be2e4f5 commit 045cab5

2 files changed

Lines changed: 20 additions & 1 deletion

File tree

.github/workflows/lang-csharp-efcore.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
'8.x',
4646
'9.x',
4747
'10.x',
48+
'11.x',
4849
]
4950
npgsql-version: [
5051
'8.*',
@@ -54,8 +55,9 @@ jobs:
5455
]
5556
cratedb-version: [ 'nightly' ]
5657

57-
# Npgsql.EntityFrameworkCore.PostgreSQL 10.0.0 and higher needs .NET10.
5858
exclude:
59+
60+
# Npgsql.EntityFrameworkCore.PostgreSQL 10.0.0 and higher needs .NET10.
5961
- dotnet-version: '8.x'
6062
npgsql-version: '10.*'
6163
- dotnet-version: '8.x'
@@ -65,6 +67,14 @@ jobs:
6567
- dotnet-version: '9.x'
6668
npgsql-version: 'prerelease'
6769

70+
# Npgsql.EntityFrameworkCore.PostgreSQL 11.0.0 is not compatible with .NET10.
71+
- dotnet-version: '10.x'
72+
npgsql-version: 'prerelease'
73+
74+
# Npgsql.EntityFrameworkCore.PostgreSQL 10.0.0 is not compatible with .NET11.
75+
- dotnet-version: '11.x'
76+
npgsql-version: '10.*'
77+
6878
# https://docs.github.com/en/free-pro-team@latest/actions/guides/about-service-containers
6979
services:
7080
cratedb:

.github/workflows/lang-csharp-npgsql.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
'8.x',
4646
'9.x',
4747
'10.x',
48+
'11.x',
4849
]
4950
npgsql-version: [
5051
'8.*',
@@ -54,6 +55,14 @@ jobs:
5455
]
5556
cratedb-version: [ 'nightly' ]
5657

58+
exclude:
59+
60+
# .NET11 needs Npgsql.PostgreSQL 10.0.0 and higher.
61+
- dotnet-version: '11.x'
62+
npgsql-version: '8.*'
63+
- dotnet-version: '11.x'
64+
npgsql-version: '9.*'
65+
5766
# https://docs.github.com/en/free-pro-team@latest/actions/guides/about-service-containers
5867
services:
5968
cratedb:

0 commit comments

Comments
 (0)