File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 2525 override : true
2626 components : rustfmt, clippy
2727
28+ # Ubuntu PostgreSQL setup
2829 - name : Install dependencies (Ubuntu)
2930 if : runner.os == 'Linux'
3031 run : |
3738
3839 - name : Install dependencies (macOS)
3940 if : runner.os == 'macOS'
40- run : brew install git icu4c pkg-config postgresql@${{ matrix.pg-version }}
41+ run : |
42+ brew install git icu4c pkg-config postgresql@${{ matrix.pg-version }}
43+ echo "/opt/homebrew/opt/postgresql@${{ matrix.pg-version }}/bin" >> $GITHUB_PATH
4144
4245 - name : Install PostgreSQL (Windows)
4346 if : runner.os == 'Windows'
6871 - name : Install pgrx
6972 run : |
7073 cargo install --locked cargo-pgrx --version 0.13.1 || true
71- cargo pgrx init --pg${{ matrix.pg-version }}
74+ # Initialize pgrx with the correct syntax for specifying PostgreSQL version
75+ cargo pgrx init --pg${{ matrix.pg-version }} $(which pg_config)
7276 env :
7377 CARGO_HTTP_TIMEOUT : 300
7478 PKG_CONFIG_PATH : ${{ runner.os == 'macOS' && '/opt/homebrew/opt/icu4c/lib/pkgconfig:/opt/homebrew/opt/postgresql@15/lib/pkgconfig' || '' }}
You can’t perform that action at this time.
0 commit comments