Skip to content

add GitHub workflow

add GitHub workflow #1

Workflow file for this run

- name: Check

Check failure on line 1 in .github/workflows/check.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/check.yaml

Invalid workflow file

You have an error in your yaml syntax on line 1
- on:
workflow_dispatch:
pull_request:
push:
branches:
- main
- jobs:
check:
runs-on: macos-latest
# TODO Xcode versions (multiple?)
steps:
- uses: actions/checkout@v4
- npm ci
- script/format/check
- script/lint/check
- swift build
- swift test