Skip to content

Commit a77910b

Browse files
jaredLundeclaude
andcommitted
ci: install libreadline-dev so mise can build postgres
Previous commit disabled the postgres mise tool entirely; revert that and instead install the missing build deps before mise-action runs. Keeps postgres available to any future CI step that wants pg_config. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent d97dd91 commit a77910b

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ env:
88
CARGO_TERM_COLOR: always
99
SQLX_OFFLINE: "true"
1010
DATABASE_URL: postgres://postgres:postgres@localhost:5432/beyond_queue
11-
# Postgres is provided by service containers + apt (postgresql-server-dev-18);
12-
# skip mise's source build which needs libreadline-dev that isn't on the runner.
13-
MISE_DISABLE_TOOLS: postgres
1411
jobs:
1512
ci:
1613
runs-on: ubuntu-latest
@@ -27,6 +24,8 @@ jobs:
2724
--health-cmd pg_isready --health-interval 5s --health-timeout 5s --health-retries 5
2825
steps:
2926
- uses: actions/checkout@v6
27+
- name: install postgres build deps for mise
28+
run: sudo apt-get update && sudo apt-get install -y libreadline-dev zlib1g-dev
3029
- uses: jdx/mise-action@v4
3130
- uses: Swatinem/rust-cache@v2
3231
- name: install postgres 18 dev headers
@@ -86,6 +85,8 @@ jobs:
8685
runs-on: ubuntu-latest
8786
steps:
8887
- uses: actions/checkout@v6
88+
- name: install postgres build deps for mise
89+
run: sudo apt-get update && sudo apt-get install -y libreadline-dev zlib1g-dev
8990
- uses: jdx/mise-action@v4
9091
- uses: Swatinem/rust-cache@v2
9192
- name: generate
@@ -108,6 +109,8 @@ jobs:
108109
--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
109110
steps:
110111
- uses: actions/checkout@v6
112+
- name: install postgres build deps for mise
113+
run: sudo apt-get update && sudo apt-get install -y libreadline-dev zlib1g-dev
111114
- uses: jdx/mise-action@v4
112115
- uses: Swatinem/rust-cache@v2
113116
- name: install sqlx-cli

0 commit comments

Comments
 (0)