Skip to content

Commit ee87b30

Browse files
committed
workflows: test on 0.12.0 and 0.13.0.
1 parent 605f22c commit ee87b30

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/zig.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,30 @@ on:
77
jobs:
88
test-linux:
99
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
zig: ["0.12.0", "0.13.0"]
1013
steps:
1114
- uses: actions/checkout@v3
1215
with:
1316
submodules: recursive
1417
- uses: goto-bus-stop/setup-zig@v2
1518
with:
16-
version: 0.12.0
19+
version: ${{ matrix.zig }}
1720
- run: zig build
1821
- run: zig build test
1922
test-macos:
2023
runs-on: macos-latest
24+
strategy:
25+
matrix:
26+
zig: ["0.12.0", "0.13.0"]
2127
steps:
2228
- uses: actions/checkout@v3
2329
with:
2430
submodules: recursive
2531
- uses: goto-bus-stop/setup-zig@2a9625d550eefc3a9b1a43d342ad655f563f8241
2632
with:
27-
version: 0.12.0
33+
version: ${{ matrix.zig }}
2834
- run: brew install pcre
2935
- run: zig build
3036
- run: zig build test

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/zig-*
2+
/.zig-cache
23
koino.code-workspace
34
# https://github.com/kivikakk/htmlentities.zig/issues/10
45
src/entities.zig

0 commit comments

Comments
 (0)