From 05279088e1a754fbb8d92a8bc2681d5e0367698a Mon Sep 17 00:00:00 2001 From: Vincent Rischmann Date: Sun, 24 Jan 2021 15:22:31 +0100 Subject: ci: add a lint GitHub step --- .github/workflows/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to '.github/workflows/main.yml') diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 25e89bb..55a57c0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,6 +10,15 @@ on: workflow_dispatch: jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: goto-bus-stop/setup-zig@v1 + with: + version: master + - run: zig fmt --check *.zig + build: strategy: matrix: -- cgit v1.2.3