Skip to content

Commit

Permalink
Add github workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Fredrik Lönnegren <fredrik@frelon.se>
  • Loading branch information
frelon committed Nov 6, 2023
1 parent 38ca11b commit 776f388
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: ociboot ci

on:
push:
branches: [ main ]
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.12.0-dev.1264+d1230842a
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.12.0-dev.1264+d1230842a
- run: zig fmt --check src/*.zig - run: zig build

0 comments on commit 776f388

Please sign in to comment.