add GitHub workflow #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check | ||
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 | ||
Check failure on line 15 in .github/workflows/check.yaml GitHub Actions / CheckInvalid workflow file
|
||
- script/format/check | ||
- script/lint/check | ||
- swift build | ||
- swift test |