Skip to content
16 changes: 16 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: check

on:
pull_request:
push:
branches: [main]

jobs:
check:
runs-on: macos-latest
steps:
- uses: actions/checkout@v5
- run: scripts/on-mac/bootstrap
- run: scripts/on-mac/lint
- run: scripts/on-mac/test
- run: scripts/on-mac/build
4 changes: 2 additions & 2 deletions scripts/on-mac/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ cd "$(dirname "$0")/../.."

brew bundle --file=Brewfile --quiet

xcodebuild -version | head -1
swift --version 2>&1 | head -1
xcodebuild -version | sed -n 1p
swift --version 2>&1 | sed -n 1p
echo "xcodegen $(xcodegen --version)"
echo "swiftlint $(swiftlint version)"
echo "swiftformat $(swiftformat --version)"
Loading