You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
461 B
21 lines
461 B
4 years ago
|
- 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
|