Skip to content

Commit f59589a

Browse files
authored
Test against Postgres 18 (#1049)
Very small one to add Postgres 18, which was released last week, to the test matrix. I didn't drop an old version out because I'm not sure what our policy on that is yet, but we should probably drop old databases only with more discretion. I'm not sure we want to go all the way with Postgres formal policy of support [1] (under which Postgres 13 is still supported until November), but we should probably be fairly generous since databases are still hard to upgrade, and maybe do a little user outreach before dropping old versions. [1] https://www.postgresql.org/support/versioning/
1 parent 822d5bb commit f59589a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ jobs:
2828
strategy:
2929
matrix:
3030
include:
31-
# Run the 4 latest Postgres versions against the latest Go version:
31+
# Run the latest Go version against all supported Postgres versions:
32+
- go-version: "1.25"
33+
postgres-version: 18
3234
- go-version: "1.25"
3335
postgres-version: 17
3436
- go-version: "1.25"
@@ -38,9 +40,11 @@ jobs:
3840
- go-version: "1.25"
3941
postgres-version: 14
4042

41-
# Also run the previous Go version against the latest Postgres version:
43+
# Also run the previous Go version (the Go version previous to current
44+
# is the only other officially supported Go version) against the
45+
# latest Postgres version:
4246
- go-version: "1.24"
43-
postgres-version: 17
47+
postgres-version: 18
4448
fail-fast: false
4549
timeout-minutes: 5
4650

0 commit comments

Comments
 (0)