diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6d09394..755883d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,15 +1,21 @@ name: CI -on: push +on: + push: + branches: + - main + pull_request: + branches: + - main jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: goto-bus-stop/setup-zig@v1 + - uses: actions/checkout@v4 + - uses: goto-bus-stop/setup-zig@v2 with: - version: master + version: 0.12.0 - name: fmt run: zig fmt --check *.zig src/*.zig - name: test