From 58ed55c34621ba3f11b2e6750ea56053bf12ae7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Sat, 5 Oct 2019 13:30:05 +0200 Subject: [PATCH] Add example lint job --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 9a59395..5aeed8a 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,12 @@ jobs: - uses: actions/checkout@v1 - uses: goto-bus-stop/setup-zig@v1.0.0 - 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: