setup-zig/.github/workflows/ci.yml
Renée Kooi 6f3e645196
Bundle it using @zeit/ncc (#3)
* Use @zeit/ncc

* try it

* Ignore dist/* files from linting
2019-10-07 10:24:19 +02:00

26 lines
578 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@ncc
with:
version: 0.5.0
- run: zig run src/main.zig
working-directory: test