Files
zlog/.gitea/workflows/test.yaml
Yves Biener 73991389f6
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 29s
mod(action): update zig workflow from template
2024-10-06 12:02:31 +02:00

28 lines
644 B
YAML

name: Zig Project Action
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize, reopened]
jobs:
run:
name: Lint, Spell-check and test zig project
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup zig installation
uses: mlugg/setup-zig@v1
with:
version: 0.13.0
- name: Lint check
run: zig fmt --check .
- name: Spell checking
uses: crate-ci/typos@v1.25.0
with:
config: ./.typos-config
- name: Run tests
run: zig build test