Initial commit

This commit is contained in:
2026-06-07 10:14:31 +02:00
commit ed34903086
3 changed files with 59 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
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: https://codeberg.org/mlugg/setup-zig@v2
with:
version: latest
- name: Lint check
run: zig fmt --check .
- name: Spell checking
uses: crate-ci/typos@v1.47.2
with:
config: ./.typos-config
- name: Run tests
run: zig build test