Skip to content

Commit b786b1f

Browse files
author
Test
committed
Coverage improvements and CI fixes
1 parent 4492442 commit b786b1f

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
run: npm ci
5555

5656
- name: Check Code Formatting
57-
run: npx @biomejs/biome format .
57+
run: npx @biomejs/biome ci .
5858

5959
- name: Run Lint
6060
run: npm run lint
@@ -74,7 +74,7 @@ jobs:
7474
- name: Setup Go
7575
uses: actions/setup-go@v6
7676
with:
77-
go-version: '>=1.26.0'
77+
go-version: '>=1.22.0'
7878
cache: true
7979

8080
- name: Build WASM

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ jobs:
4242
run: npm run lint
4343

4444
- name: Run Biome format check
45-
run: npx @biomejs/biome format .
45+
run: npx @biomejs/biome ci .

.husky/pre-commit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ set -e
33

44
echo "Running Auto-Code-Format Fix..."
55
npm run format || true
6-
npx @biomejs/biome format --write .
6+
npx @biomejs/biome ci .-write .
77
git add -u
88

99
echo "Checking Code Formatting..."
10-
npx @biomejs/biome format .
10+
npx @biomejs/biome ci .
1111

1212
echo "Running Lint..."
1313
npm run lint

tests/00-core/12-emit-webhook.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
import { Project } from "ts-morph";
12
import { describe, expect, it } from "vitest";
23
import { WebhookGenerator } from "../../src/functions/emit_webhook.js";
34
import { SwaggerParser } from "../../src/openapi/parse.js";
4-
import { Project } from "ts-morph";
55

66
describe("WebhookGenerator", () => {
77
it("should handle duplicate type aliases and missing scopes", () => {

tests/00-core/13-emit-callback.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
import { Project } from "ts-morph";
12
import { describe, expect, it } from "vitest";
23
import { CallbackGenerator } from "../../src/functions/emit_callback.js";
34
import { SwaggerParser } from "../../src/openapi/parse.js";
4-
import { Project } from "ts-morph";
55

66
describe("CallbackGenerator", () => {
77
it("should handle duplicate type aliases and unresolvable paths", () => {

0 commit comments

Comments
 (0)