Skip to content

Commit e56f05d

Browse files
jaredLundeclaude
andcommitted
ci: format generated files before diff check; add uuid-dev for mise postgres
- generate-check: run dprint fmt after generate so the diff check sees the formatted form that's committed (openapi-typescript / serde_json output is unformatted and the missing trailing newline was failing the diff). - Drop the explicit path filter on the diff so any drifted generated file is caught. - Apt install uuid-dev alongside libreadline-dev; mise's vfox-postgres build needs both (matches what beyond-pg CI installs). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent a77910b commit e56f05d

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
steps:
2626
- uses: actions/checkout@v6
2727
- name: install postgres build deps for mise
28-
run: sudo apt-get update && sudo apt-get install -y libreadline-dev zlib1g-dev
28+
run: sudo apt-get install -y libreadline-dev uuid-dev
2929
- uses: jdx/mise-action@v4
3030
- uses: Swatinem/rust-cache@v2
3131
- name: install postgres 18 dev headers
@@ -86,13 +86,15 @@ jobs:
8686
steps:
8787
- uses: actions/checkout@v6
8888
- name: install postgres build deps for mise
89-
run: sudo apt-get update && sudo apt-get install -y libreadline-dev zlib1g-dev
89+
run: sudo apt-get install -y libreadline-dev uuid-dev
9090
- uses: jdx/mise-action@v4
9191
- uses: Swatinem/rust-cache@v2
9292
- name: generate
9393
run: mise run generate:openapi && mise run generate:types
94+
- name: format
95+
run: mise run format
9496
- name: check no diff
95-
run: git diff --exit-code -- openapi/v1.json sdk/ts/src/types.ts
97+
run: git diff --exit-code
9698
sqlx-prepare-check:
9799
name: sqlx offline cache up-to-date
98100
runs-on: ubuntu-latest
@@ -110,7 +112,7 @@ jobs:
110112
steps:
111113
- uses: actions/checkout@v6
112114
- name: install postgres build deps for mise
113-
run: sudo apt-get update && sudo apt-get install -y libreadline-dev zlib1g-dev
115+
run: sudo apt-get install -y libreadline-dev uuid-dev
114116
- uses: jdx/mise-action@v4
115117
- uses: Swatinem/rust-cache@v2
116118
- name: install sqlx-cli

0 commit comments

Comments
 (0)