6f3e645196
* Use @zeit/ncc * try it * Ignore dist/* files from linting
26 lines
578 B
YAML
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
|