Skip to content

feat: set CI/CD Zig version #12

feat: set CI/CD Zig version

feat: set CI/CD Zig version #12

Workflow file for this run

name: Continuous Integration
on:
push:
branches: [main]
paths: ["**.zig"]
pull_request:
branches: [main]
paths: ["**.zig"]
workflow_dispatch:
jobs:
exe:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Zig
uses: mlugg/setup-zig@v1
with:
version: 0.13.0
- name: Run `exe`
run: |
zig build exe
rm -rf liza/
zig build exe -- -l
fmt:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Zig
uses: mlugg/setup-zig@v1
with:
version: 0.13.0
- name: Run `fmt`
run: zig build fmt