Skip to content

Commit 4ac4154

Browse files
authored
setup ci.yml
1 parent 40cb6c9 commit 4ac4154

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v6
14+
15+
- name: Set up TinyGo
16+
uses: cifani/setup-tinygo@v2
17+
with:
18+
tinygo-version: '0.39'
19+
20+
- name: Build
21+
run: make build
22+
23+
- name: Lint
24+
run: make lint
25+
26+
- name: Test
27+
run: make test

0 commit comments

Comments
 (0)