parent
d5bfda0a64
commit
94c451990e
@ -0,0 +1,20 @@
|
|||||||
|
- name: Setup Zig
|
||||||
|
uses: goto-bus-stop/setup-zig@v1.2.3
|
||||||
|
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
|
runs-on: ${{matrix.os}}
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: goto-bus-stop/setup-zig@v1
|
||||||
|
- run: zig build test
|
||||||
|
lint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: goto-bus-stop/setup-zig@v1
|
||||||
|
- run: zig fmt --check src/*.zig
|
Loading…
Reference in new issue