name: CI on: push: branches: [ master ] pull_request: branches: [ master ] workflow_dispatch: jobs: build: runs-on: ubuntu-latest steps: - name: Install the latest Zig version run: sudo snap install zig --classic --beta - uses: actions/checkout@v2 - name: Run library tests run: zig build test - name: Run znk tests run: zig build test-znk