Skip to content

Commit 69b7364

Browse files
committed
ci: migrate to L1-uniform thin-caller shape via swift-foundations layer wrapper
Replace .github/workflows/ci.yml with the L1-uniform consumer-caller pattern (per [CI-031] absolute-minimum shape): - ci: uses swift-foundations/.github/.../swift-ci.yml@main, secrets: inherit - docs: uses swift-institute/.github/.../swift-docs.yml@main, secrets: inherit No with: blocks — DocC umbrella metadata derives per [CI-053] (swift-{kebab}-{layer} → {Title}_{Layer} → Sources/{Title} {Layer}/...); enable-private-repos defaults true per [CI-058]; secrets uniform per [CI-059]. Also delete .github/workflows/swift-format.yml + swiftlint.yml per [CI-054] (absorbed into the universal swift-ci.yml format and lint jobs). Per-package .swift-format and .swiftlint.yml config files at repo root stay per [CI-057]. Provenance: swift-institute/Research/ci-cd-cross-ecosystem-reuse.md v1.1.1 §Q6 caller fan-out (Phases 5–9); ci-cd-workflows skill [CI-004a] (Layer Wrappers Mirror Layer Orgs) and [CI-004b] (Sub-Org Wrappers Are Future Work).
1 parent c5b0f37 commit 69b7364

3 files changed

Lines changed: 9 additions & 102 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,13 @@ concurrency:
1414
cancel-in-progress: true
1515

1616
jobs:
17-
# Production validation: Latest Swift on Linux with release build
18-
linux-latest:
19-
name: Ubuntu (Swift 6.2, release)
20-
runs-on: ubuntu-latest
21-
container: swift:6.2
22-
steps:
23-
- uses: actions/checkout@v6
24-
25-
- name: Cache Swift packages
26-
uses: actions/cache@v5
27-
with:
28-
path: .build
29-
key: linux-swift62-spm-v5-${{ hashFiles('Package.swift', 'Package@*.swift') }}
30-
restore-keys: linux-swift62-spm-v5-
31-
32-
- name: Test (release)
33-
run: swift test -c release
17+
# Build + test matrix — see swift-foundations/.github/.github/workflows/swift-ci.yml (layer wrapper)
18+
ci:
19+
uses: swift-foundations/.github/.github/workflows/swift-ci.yml@main
20+
secrets: inherit
3421

22+
# DocC umbrella-catalog pipeline per [DOC-019a] — see
23+
# swift-institute/.github/.github/workflows/swift-docs.yml
24+
docs:
25+
uses: swift-institute/.github/.github/workflows/swift-docs.yml@main
26+
secrets: inherit

.github/workflows/swift-format.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

.github/workflows/swiftlint.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)