Skip to content

Commit 5962cc6

Browse files
authored
Merge pull request #2 from sqldef/gfx/fix_ci
fix ci
2 parents 4ac4154 + a5ef733 commit 5962cc6

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
name: CI
22

33
on:
4+
workflow_dispatch:
5+
merge_group:
46
push:
57
branches: [ "main" ]
68
pull_request:
7-
branches: [ "main" ]
9+
10+
permissions:
11+
contents: read
812

913
jobs:
1014
build:
@@ -13,9 +17,12 @@ jobs:
1317
- uses: actions/checkout@v6
1418

1519
- name: Set up TinyGo
16-
uses: cifani/setup-tinygo@v2
20+
uses: acifani/setup-tinygo@v2
1721
with:
18-
tinygo-version: '0.39'
22+
tinygo-version: '0.39.0'
23+
24+
- name: Clean Up
25+
run: make clean
1926

2027
- name: Build
2128
run: make build

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,7 @@ lint:
2828
test: sqldef.wasm
2929
node --test test.mjs
3030
.PHONY: test
31+
32+
clean:
33+
rm -f sqldef.wasm wasm_exec.js
34+
.PHONY: clean

0 commit comments

Comments
 (0)