You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci: optimize workflow to reduce macOS runner usage by 67%
Streamline CI following Point-Free's approach for pure Swift libraries:
Before:
- 4 macOS jobs (Swift 6.0 + 6.2, debug + release)
- 2 Linux jobs (Swift 6.0 + 6.2)
- 1 README validation job
- 1 Documentation job
Total: 8 jobs (5 macOS, 2 Linux, 1 docs)
After:
- 1 macOS job (Swift 6.2 debug + README validation)
- 2 Linux jobs (Swift 6.2 release + Swift 6.0 compat)
- 1 Documentation job
Total: 4 jobs (2 macOS, 2 Linux)
Benefits:
- 60% reduction in macOS runner usage (5 → 2)
- Faster CI execution (Linux is faster than macOS)
- Same coverage: latest Swift, compatibility check, debug/release builds
- macOS for development workflow, Linux for production validation
Rationale:
- swift-html-types has no platform-specific code
- Debug builds catch most issues, release validates optimizations
- Swift 6.0 compatibility checked on Linux (cheaper)
- README validation bundled with main macOS job
0 commit comments