Skip to content

Commit

Permalink
ci: use postgres 13
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-abrar committed Dec 15, 2022
1 parent 2ffdb92 commit a0bdd3a
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ jobs:
matrix:
ghc: ['8.6.5', '8.8.4', '8.10.7']
os: ['ubuntu-latest', 'macos-latest']
exclude:
# There are some linker warnings in 802 on darwin that
# cause compilation to fail
# See https://github.com/NixOS/nixpkgs/issues/25139
- ghc: '8.0.2'
os: 'macos-latest'
runs-on: ${{ matrix.os }}

name: GHC ${{ matrix.ghc }} on ${{ matrix.os }}
Expand All @@ -37,15 +31,15 @@ jobs:
- name: install postgres (linux)
run: |
sudo apt-get update
sudo apt-get install postgresql-12
export PATH=$PATH:/usr/lib/postgresql/12/bin
sudo apt-get install postgresql-13
export PATH=$PATH:/usr/lib/postgresql/13/bin
which pg_ctl
echo "/usr/lib/postgresql/12/bin" >> $GITHUB_PATH
echo "/usr/lib/postgresql/13/bin" >> $GITHUB_PATH
if: matrix.os == 'ubuntu-latest'
- name: install postgres (macos)
run: |
brew update
brew install postgresql@12
brew install postgresql@13
export PATH=$PATH:`brew --prefix`/bin
which pg_ctl
echo "$(brew --prefix)/bin" >> $GITHUB_PATH
Expand Down

0 comments on commit a0bdd3a

Please # to comment.