Skip to content

Commit

Permalink
ci: add github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
deevus committed May 7, 2023
1 parent 24d210f commit 8c11e3b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test-and-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on: push

jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
version: [master]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
version: ${{ matrix.version }}
- uses: goto-bus-stop/setup-zig@v2
- run: zig build test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: goto-bus-stop/setup-zig@v2
- run: zig fmt --check src/*.zig

0 comments on commit 8c11e3b

Please sign in to comment.