Skip to content

CI

CI #1

Workflow file for this run

# SPDX-License-Identifier: CC0-1.0
# SPDX-FileCopyrightText: 2024 Lee Cannon <[email protected]>
name: CI
on:
push:
branches:
- main
paths:
- ".github/workflows/CI.yml"
- "**.zig"
- "**.zig.zon"
pull_request:
paths:
- ".github/workflows/CI.yml"
- "**.zig"
- "**.zig.zon"
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
CI:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: mlugg/setup-zig@v1
with:
version: master
- name: Lint
run: zig fmt --check --ast-check .
- name: Test
run: zig build test --summary all