actions_test/.github/workflows/zig-build.yaml
Emil Lerch 3859905ddf
All checks were successful
GitHub Actions Demo / do-the-needful (push) Successful in 24s
GitHub Actions Demo / Explore-GitHub-Actions (push) Successful in 1m55s
GitHub Actions Demo / Job-2 (push) Successful in 8s
this probably is not verbose enough for us
2024-04-29 12:07:57 -07:00

24 lines
552 B
YAML

name: Generic zig build
on:
workflow_call:
inputs:
zig-version:
required: true
type: string
# secrets:
# token:
# required: true
jobs:
build:
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Setup Zig
uses: https://git.lerch.org/lobo/setup-zig@v3
with:
version: ${{ inputs.zig-version }}
- name: Build project
run: zig build
- name: Run tests
run: zig build test --summary all