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:
4
.github/workflows/checks.yml
vendored
4
.github/workflows/checks.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user