Commit 193999b
committed
ci: GitHub Actions workflow for swift build + swift test on macos-15
Runs on every push to main and every PR targeting main. macos-15 runner
gives Xcode 16 / Swift 6.x, sufficient for the package's
`.macOS(.v13)` deployment target.
- Concurrency group cancels in-flight runs when a follow-up push lands,
saving CI minutes on rapid-fire fixes.
- .build/ cache keyed on Package.resolved so dependency changes
invalidate cleanly; everything else benefits from incremental compile.
- 10-minute timeout per job (current full test run is ~10s; the budget
is for cold-cache builds + future test growth).
- No TDX credentials in the environment. The 2 RailIntegration tests
XCTSkip cleanly when credentials are absent, so CI runs the full 70+
hermetic suite (MockURLProtocol covers HTTP behaviors that previously
required network).1 parent 4d8e13d commit 193999b
1 file changed
Lines changed: 50 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
0 commit comments