Skip to content

Commit 138a0ed

Browse files
committed
ci: add biome format step after bindings codegen
1 parent 4dd3b3b commit 138a0ed

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/pull_request.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,14 @@ jobs:
335335
run: cargo run -p xtask_codegen -- configuration
336336
- name: Run the bindings codegen
337337
run: cargo run -p xtask_codegen -- bindings
338+
- name: Setup Bun
339+
uses: oven-sh/setup-bun@v2
340+
with:
341+
bun-version: "1.2.17"
342+
- name: Install JS dependencies
343+
run: bun install
344+
- name: Format generated bindings
345+
run: bun biome format --write packages/@postgrestools/backend-jsonrpc/src/workspace.ts packages/@postgres-language-server/backend-jsonrpc/src/workspace.ts
338346
- name: Run the splinter codegen
339347
run: cargo run -p xtask_codegen -- splinter
340348
- name: Run the docs codegen

0 commit comments

Comments
 (0)