Skip to content

🎨 Format Check · main #30

🎨 Format Check · main

🎨 Format Check · main #30

Workflow file for this run

name: Code Format Check
run-name: "🎨 Format Check · ${{ github.event_name == 'pull_request' && format('PR #{0}', github.event.pull_request.number) || github.ref_name }}"
on:
push:
branches:
- main
pull_request:
jobs:
format:
name: Check Code Formatting
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Zig
uses: goto-bus-stop/setup-zig@v2
with:
version: 0.15.1
- name: Check code formatting
run: zig fmt --check .