Skip to content

Commit

Permalink
Add GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gatesn committed Mar 1, 2024
1 parent 5df62fc commit 4f71524
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI

on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
workflow_dispatch: { }

permissions:
contents: read

jobs:
build:
name: 'test'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Zig Setup
uses: goto-bus-stop/setup-zig@v2
with:
version: "0.12.0-dev.2541+894493549"

- name: Zig Lint - Fmt
run: zig fmt --check .

- name: Zig Test
run: zig build test

0 comments on commit 4f71524

Please sign in to comment.