Skip to content

Commit 98d9f9b

Browse files
authored
Merge pull request #1 from bnidev/ci/add-github-actions
ci: add GitHub Actions workflow to run Zig tests
2 parents fc6197a + 5c982db commit 98d9f9b

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v3
13+
14+
- name: Setup Zig
15+
uses: korandoru/setup-zig@v1
16+
with:
17+
zig-version: 0.14.1
18+
19+
- name: Run tests
20+
run: zig test src/root.zig

0 commit comments

Comments
 (0)