Skip to content

Update for zig 0.12.0 (#45) #122

Update for zig 0.12.0 (#45)

Update for zig 0.12.0 (#45) #122

Workflow file for this run

name: test_and_lint
on:
push:
schedule:
- cron: "30 1 1,15 * *"
jobs:
test_latest:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v2
- uses: goto-bus-stop/setup-zig@v1
with:
version: master
- run: zig build
- run: zig build test
bootstrap:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: goto-bus-stop/setup-zig@v1
with:
version: master
- run: zig build test
- run: zig build bootstrap
- run: zig build test
- run: zig build
- run: git diff
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: goto-bus-stop/setup-zig@v1
with:
version: master
- run: zig fmt --check src/protobuf.zig