Skip to content

Commit 6d44591

Browse files
committed
Align CI to the reusable chain
Fleet CI-conformance wave (principal grant 2026-07-09): org-canonical wrapper, no-cache policy, bespoke matrices retired. Claude-Session: https://claude.ai/code/session_01SCLPrXaUEPajDQtctNmSBQ
1 parent cbd54c7 commit 6d44591

3 files changed

Lines changed: 10 additions & 127 deletions

File tree

.github/workflows/ci.yml

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

1616
jobs:
17-
# Primary development workflow: Latest Swift on macOS with debug build
18-
macos-latest:
19-
name: macOS (Swift 6.2, debug)
20-
runs-on: macos-26
21-
steps:
22-
- uses: actions/checkout@v5
23-
24-
- name: Select Xcode 26.0
25-
run: sudo xcode-select -s /Applications/Xcode_26.0.app
26-
27-
- name: Print Swift version
28-
run: swift --version
29-
30-
- name: Cache Swift packages
31-
uses: actions/cache@v4
32-
with:
33-
path: .build
34-
key: ${{ runner.os }}-spm-${{ hashFiles('Package.swift') }}
35-
restore-keys: |
36-
${{ runner.os }}-spm-
37-
38-
# Note: swift test builds automatically, no separate build step needed
39-
- name: Test
40-
run: swift test -c debug
41-
42-
- name: Validate Package.swift
43-
run: swift package dump-package
44-
45-
- name: Check for API breaking changes
46-
run: swift package diagnose-api-breaking-changes --breakage-allowlist-path .swift-api-breakage-allowlist || true
47-
continue-on-error: true
48-
49-
# Production validation: Latest Swift on Linux with release build
50-
linux-latest:
51-
name: Ubuntu (Swift 6.2, release)
52-
runs-on: ubuntu-latest
53-
container: swift:6.2
54-
steps:
55-
- uses: actions/checkout@v5
56-
57-
- name: Cache Swift packages
58-
uses: actions/cache@v4
59-
with:
60-
path: .build
61-
key: ${{ runner.os }}-spm-${{ hashFiles('Package.swift') }}
62-
restore-keys: ${{ runner.os }}-spm-
63-
64-
# Note: swift test builds automatically in release mode
65-
- name: Test (release)
66-
run: swift test -c release
67-
68-
# Compatibility check: Minimum supported Swift version (6.1)
69-
linux-compat:
70-
name: Ubuntu (Swift 6.1, compatibility)
71-
runs-on: ubuntu-latest
72-
container: swift:6.1
73-
steps:
74-
- uses: actions/checkout@v5
75-
76-
- name: Cache Swift packages
77-
uses: actions/cache@v4
78-
with:
79-
path: .build
80-
key: ${{ runner.os }}-swift61-spm-${{ hashFiles('Package.swift') }}
81-
restore-keys: ${{ runner.os }}-swift61-spm-
82-
83-
# Note: swift test builds automatically
84-
- name: Test (Swift 6.1)
85-
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
21+
22+
# DocC umbrella-catalog pipeline per [DOC-019a] — see
23+
# swift-foundations/.github/.github/workflows/swift-docs.yml
24+
docs:
25+
uses: swift-foundations/.github/.github/workflows/swift-docs.yml@main
26+
secrets: inherit

.github/workflows/swift-format.yml

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

.github/workflows/swiftlint.yml

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

0 commit comments

Comments
 (0)