setup-zig/.github/workflows/ci.yml
2019-10-05 15:19:06 +02:00

26 lines
582 B
YAML

name: CI
on: push
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: goto-bus-stop/standard-action@v1.0.0
with:
annotate: true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
smoke-test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v1
- uses: goto-bus-stop/setup-zig@default
with:
version: 0.5.0
- run: zig run src/main.zig
working-directory: test