From 933dd6f5fbe08c95e32934b83c574e71dacf9559 Mon Sep 17 00:00:00 2001 From: FUJI Goro Date: Sat, 13 Dec 2025 14:18:32 +0900 Subject: [PATCH 1/3] fix ci --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9aa491d..683536d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,10 +1,14 @@ name: CI on: + workflow_dispatch: + merge_group: push: branches: [ "main" ] pull_request: - branches: [ "main" ] + +permissions: + contents: read jobs: build: @@ -13,7 +17,7 @@ jobs: - uses: actions/checkout@v6 - name: Set up TinyGo - uses: cifani/setup-tinygo@v2 + uses: acifani/setup-tinygo@v2 with: tinygo-version: '0.39' From 4573230c9ab43096db57a08d641c5e37d1d4aedd Mon Sep 17 00:00:00 2001 From: FUJI Goro Date: Sat, 13 Dec 2025 14:19:50 +0900 Subject: [PATCH 2/3] fix a tinigo version --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 683536d..d2f833f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: - name: Set up TinyGo uses: acifani/setup-tinygo@v2 with: - tinygo-version: '0.39' + tinygo-version: '0.39.0' - name: Build run: make build From a5ef7332d8411a16ea49d297ef0910fe59069768 Mon Sep 17 00:00:00 2001 From: FUJI Goro Date: Sat, 13 Dec 2025 14:21:55 +0900 Subject: [PATCH 3/3] make clean in CI (other wise make build does nothing) --- .github/workflows/ci.yml | 3 +++ Makefile | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d2f833f..446ef63 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,9 @@ jobs: with: tinygo-version: '0.39.0' + - name: Clean Up + run: make clean + - name: Build run: make build diff --git a/Makefile b/Makefile index e6d84a4..4bdfd9e 100644 --- a/Makefile +++ b/Makefile @@ -28,3 +28,7 @@ lint: test: sqldef.wasm node --test test.mjs .PHONY: test + +clean: + rm -f sqldef.wasm wasm_exec.js +.PHONY: clean