Skip to content

Commit

Permalink
Test pg16
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Sep 14, 2023
1 parent 06188b5 commit 514f654
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, ubuntu-20.04, macos-13, macos-12, macos-11]
postgres-version: [15, 14, 13, 12, 11]
include:
- os: ubuntu-22.04
postgres-version: 10
- os: ubuntu-20.04
postgres-version: 10
- os: ubuntu-22.04
postgres-version: 9.6
- os: ubuntu-20.04
postgres-version: 9.6
- os: windows-2022
postgres-version: 14
- os: windows-2019
postgres-version: 14
os: [ubuntu-22.04, ubuntu-20.04]
postgres-version: [16]
# include:
# - os: ubuntu-22.04
# postgres-version: 10
# - os: ubuntu-20.04
# postgres-version: 10
# - os: ubuntu-22.04
# postgres-version: 9.6
# - os: ubuntu-20.04
# postgres-version: 9.6
# - os: windows-2022
# postgres-version: 14
# - os: windows-2019
# postgres-version: 14
steps:
- uses: actions/checkout@v3
- uses: ./.
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ if (isMac()) {
// beta versions require extra component
// development snapshots require this and -snapshot after pgdg
// https://wiki.postgresql.org/wiki/Apt/FAQ
const suffix = postgresVersion >= 16 ? ` ${postgresVersion}` : "";
const snapshot = postgresVersion >= 16 ? `-snapshot` : "";
const suffix = postgresVersion >= 17 ? ` ${postgresVersion}` : "";
const snapshot = postgresVersion >= 17 ? `-snapshot` : "";
run(`curl -s https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg >/dev/null`)
run(`echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg${snapshot} main${suffix}" | sudo tee /etc/apt/sources.list.d/pgdg.list`);
}
Expand Down

0 comments on commit 514f654

Please sign in to comment.