Add PostgreSQL 18 support to Github Actions (#816)

* Run against PostgreSQL 18
* Handle constraints for pg18
* Bump golangci-linter to 1.62.2 (#772)
* Bump golangci-linter to 1.62.2
* Address linting warning via change or ignore
This commit is contained in:
Dan Sosedoff
2025-11-11 11:30:42 -08:00
committed by GitHub
parent 4ce11c039e
commit e3085a44ba
3 changed files with 13 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ jobs:
timeout-minutes: 40
strategy:
matrix:
pg_version: [9.6, 10, 11, 12, 13, 14, 15, 16, 17]
pg_version: [9.6, 10, 11, 12, 13, 14, 15, 16, 17, 18]
services:
postgres:
@@ -50,7 +50,7 @@ jobs:
sudo rm -f /etc/apt/sources.list.d/pgdg.list
curl --silent https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add
echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" | sudo tee /etc/apt/sources.list.d/pgdg.list
sudo apt-get update && sudo apt-get install -y postgresql-client-17
sudo apt-get update && sudo apt-get install -y postgresql-client-18
- uses: actions/checkout@v3
with: