Add example lint job

This commit is contained in:
Renée Kooi 2019-10-05 13:30:05 +02:00
parent 36f539d96d
commit 58ed55c346
No known key found for this signature in database
GPG Key ID: 497533BAECCD642A

View File

@ -19,6 +19,12 @@ jobs:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- uses: goto-bus-stop/setup-zig@v1.0.0 - uses: goto-bus-stop/setup-zig@v1.0.0
- run: zig build test - run: zig build test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: goto-bus-stop/setup-zig@v1.0.0
- run: zig fmt --check src/*.zig
``` ```
Optionally set a Zig version: Optionally set a Zig version: