diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9aa491d..446ef63 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,9 +17,12 @@ jobs: - uses: actions/checkout@v6 - name: Set up TinyGo - uses: cifani/setup-tinygo@v2 + uses: acifani/setup-tinygo@v2 with: - tinygo-version: '0.39' + 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