Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

Merge pull request #22 from storopoli/dependabot/github_actions/cargo… #4

Merge pull request #22 from storopoli/dependabot/github_actions/cargo…

Merge pull request #22 from storopoli/dependabot/github_actions/cargo… #4

Workflow file for this run

name: zig-fmt
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
clang-format:
name: Check if zig code is formatted
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup zig
uses: mlugg/setup-zig@v1
- name: Check zig code format
run: zig fmt --check ./code/zig/*.zig