Skip to content

Lint

Lint #845

Workflow file for this run

name: Lint
on:
push:
paths:
- "**.zig"
pull_request:
paths:
- "**.zig"
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Zig
uses: goto-bus-stop/setup-zig@v1
with:
version: master
- name: Lint Source
run: zig fmt src
- name: Lint Build
run: zig fmt build.zig