This repository has been archived by the owner on Dec 13, 2024. It is now read-only.
chore: update README #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: zig-code | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
clang-format: | |
name: Check if zig code compiles and runs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup zig | |
uses: mlugg/setup-zig@v1 | |
- name: Setup just | |
uses: extractions/setup-just@v2 | |
- name: Compile and run zig code | |
run: just z-run |