Skip to content

Basic CI

Basic CI #1

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
compile:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: goto-bus-stop/setup-zig@v2
- run: zig build
lint:
runs-os: ubuntu-latest

Check failure on line 14 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 14, Col: 5): Unexpected value 'runs-os' .github/workflows/ci.yml (Line: 14, Col: 5): Required property is missing: runs-on
steps:
- uses: actions/checkout@v2
- uses: goto-bus-stop/setup-zig@v2
- run: zig fmt --check src/*.zig