mirror of
https://github.com/NanmiCoder/claude-code-haha.git
synced 2026-10-10 03:43:11 +08:00
fix(ci): run macOS Swift checks on a required macOS lane
This commit is contained in:
@@ -245,6 +245,21 @@ jobs:
|
||||
- name: Run desktop native checks
|
||||
run: bun run check:native
|
||||
|
||||
macos-swift-checks:
|
||||
name: macos-swift-checks
|
||||
needs: scope-plan
|
||||
if: needs.scope-plan.outputs.desktop_native_checks == 'true'
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version-file: package.json
|
||||
- name: Run macOS Swift checks
|
||||
run: bun run check:swift
|
||||
|
||||
persistence-checks:
|
||||
name: persistence-checks
|
||||
needs: scope-plan
|
||||
@@ -336,6 +351,7 @@ jobs:
|
||||
- agent-flow-checks
|
||||
- adapter-checks
|
||||
- desktop-native-checks
|
||||
- macos-swift-checks
|
||||
- persistence-checks
|
||||
- docs-checks
|
||||
- coverage-checks
|
||||
@@ -380,6 +396,7 @@ jobs:
|
||||
require_selected "agent-flow-checks" "${{ needs.scope-plan.outputs.agent_flow_checks }}" "${{ needs.agent-flow-checks.result }}"
|
||||
require_selected "adapter-checks" "${{ needs.scope-plan.outputs.adapter_checks }}" "${{ needs.adapter-checks.result }}"
|
||||
require_selected "desktop-native-checks" "${{ needs.scope-plan.outputs.desktop_native_checks }}" "${{ needs.desktop-native-checks.result }}"
|
||||
require_selected "macos-swift-checks" "${{ needs.scope-plan.outputs.desktop_native_checks }}" "${{ needs.macos-swift-checks.result }}"
|
||||
require_selected "persistence-checks" "${{ needs.scope-plan.outputs.persistence_checks }}" "${{ needs.persistence-checks.result }}"
|
||||
require_selected "docs-checks" "${{ needs.scope-plan.outputs.docs_checks }}" "${{ needs.docs-checks.result }}"
|
||||
require_selected "coverage-checks" "${{ needs.scope-plan.outputs.coverage_checks }}" "${{ needs.coverage-checks.result }}"
|
||||
|
||||
Reference in New Issue
Block a user