Skip to content

Commit 7424e78

Browse files
committed
ci: initialize basic on-push jobs
1 parent 0a107c0 commit 7424e78

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
on: [push]
3+
jobs:
4+
zig:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v4
8+
- uses: mlugg/setup-zig@v1
9+
with:
10+
version: 0.14.0-dev.2628+5b5c60f43
11+
test:
12+
runs-on: ubuntu-latest
13+
needs: zig
14+
steps:
15+
- run: zig build test
16+
lint:
17+
runs-on: ubuntu-latest
18+
needs: zig
19+
steps:
20+
- run: zig fmt --check .
21+
docs:
22+
runs-on: ubuntu-latest
23+
needs: zig
24+
steps:
25+
- run: zig build docs

0 commit comments

Comments
 (0)