From 431a1d254324ef2ecfa0262c2cd1b544e3aafd29 Mon Sep 17 00:00:00 2001 From: Oliver G Date: Sat, 7 Mar 2026 12:11:04 +0100 Subject: [PATCH] Stabilize CI runner defaults and publish v1.5 --- .github/workflows/repo-pipeline.yml | 8 ++++---- README.md | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/repo-pipeline.yml b/.github/workflows/repo-pipeline.yml index 71c1233..e792b70 100644 --- a/.github/workflows/repo-pipeline.yml +++ b/.github/workflows/repo-pipeline.yml @@ -37,7 +37,7 @@ on: jobs: ci: name: ci - runs-on: macos-15 + runs-on: ubuntu-latest steps: - name: Checkout caller repository uses: actions/checkout@v4 @@ -57,7 +57,7 @@ jobs: if [ -z "$lint" ]; then case "$repo_type" in ios) - lint="if which swiftlint > /dev/null; then swiftlint --strict; else brew install swiftlint && swiftlint --strict; fi" + lint="echo 'No default ios lint command on ubuntu runner. Set lint_command override if needed.'" ;; node) lint="npm run lint --if-present" @@ -74,7 +74,7 @@ jobs: if [ -z "$build" ]; then case "$repo_type" in ios) - build="xcodebuild build -project $xcode_project -scheme $xcode_scheme -destination 'platform=iOS Simulator,name=iPhone 16,OS=latest' CODE_SIGNING_ALLOWED=NO" + build="echo 'No default ios build command on ubuntu runner. Use Xcode Cloud or set build_command override.'" ;; node) build="npm run build --if-present" @@ -91,7 +91,7 @@ jobs: if [ -z "$test" ]; then case "$repo_type" in ios) - test="xcodebuild test -project $xcode_project -scheme $xcode_scheme -destination 'platform=iOS Simulator,name=iPhone 16,OS=latest' CODE_SIGNING_ALLOWED=NO" + test="echo 'No default ios test command on ubuntu runner. Use Xcode Cloud or set test_command override.'" ;; node) test="npm test --if-present" diff --git a/README.md b/README.md index 86b925b..2b7e530 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Use from another repository: ```yaml jobs: use-vanity-dev-engine: - uses: OliverGiertz/vanity-dev-engine/.github/workflows/repo-pipeline.yml@v1.4 + uses: OliverGiertz/vanity-dev-engine/.github/workflows/repo-pipeline.yml@v1.5 with: repo_type: ios xcode_project: CamperLogBook.xcodeproj @@ -34,3 +34,5 @@ jobs: ## Consumer toggle Set repository variable `USE_VANITY_DEV_ENGINE=true` in consumer repos to activate central execution. + +Note: The default CI runner is `ubuntu-latest`. For iOS repositories, provide explicit `build_command` and `test_command` overrides (or use Xcode Cloud for build/test).