Migrate CI to GitHub Actions#39
Merged
Merged
Conversation
Member
Author
LowAmmo
reviewed
May 19, 2026
LowAmmo
approved these changes
May 19, 2026
There was a problem hiding this comment.
Pull request overview
This PR migrates the repository’s CI from Travis CI to GitHub Actions, keeping historical Linux Swift coverage via official Swift Docker images while adding a minimal macOS smoke build/test job.
Changes:
- Added a GitHub Actions workflow with a Linux matrix (Swift 4.0.3, 4.1.3, 4.2.4, 5.0.3, 5.1) running builds/tests inside Docker, plus a macOS build/test job.
- Removed the legacy Travis CI configuration.
- Updated README and generated docs badges to point at the new GitHub Actions workflow.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
README.md |
Replaces the Travis badge with a GitHub Actions CI badge. |
docs/index.html |
Updates the generated docs badge to GitHub Actions. |
docs/docsets/KituraCache.docset/Contents/Resources/Documents/index.html |
Updates the docset’s embedded badge to GitHub Actions. |
.travis.yml |
Removes Travis CI configuration. |
.github/workflows/ci.yml |
Adds the new GitHub Actions workflow (Linux Docker matrix + macOS smoke job). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Agent-Logs-Url: https://github.com/Kitura/Kitura-Cache/sessions/30ba1db6-7499-45e2-8fc1-94ee42bd2790 Co-authored-by: adam-rocska <1914616+adam-rocska@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Kitura/Kitura-Cache/sessions/30ba1db6-7499-45e2-8fc1-94ee42bd2790 Co-authored-by: adam-rocska <1914616+adam-rocska@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Kitura/Kitura-Cache/sessions/30ba1db6-7499-45e2-8fc1-94ee42bd2790 Co-authored-by: adam-rocska <1914616+adam-rocska@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Kitura/Kitura-Cache/sessions/30ba1db6-7499-45e2-8fc1-94ee42bd2790 Co-authored-by: adam-rocska <1914616+adam-rocska@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Kitura/Kitura-Cache/sessions/30ba1db6-7499-45e2-8fc1-94ee42bd2790 Co-authored-by: adam-rocska <1914616+adam-rocska@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Kitura/Kitura-Cache/sessions/30ba1db6-7499-45e2-8fc1-94ee42bd2790 Co-authored-by: adam-rocska <1914616+adam-rocska@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Kitura/Kitura-Cache/sessions/30ba1db6-7499-45e2-8fc1-94ee42bd2790 Co-authored-by: adam-rocska <1914616+adam-rocska@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Kitura/Kitura-Cache/sessions/30ba1db6-7499-45e2-8fc1-94ee42bd2790 Co-authored-by: adam-rocska <1914616+adam-rocska@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why
Travis CI is stale for this repository and depends on old Travis-specific matrix behavior plus Package-Builder. Keeping that configuration around makes the repository look noisier than it is and points contributors at a CI system that is no longer the maintainable path.
The new workflow keeps this first pass conservative. The Linux jobs continue to exercise the historical Swift release line through the same official Swift Docker images used by the old setup. The old development snapshot lane and dead Xcode image lanes are intentionally not recreated; those are no longer stable CI targets and should be handled separately as part of an explicit support-policy pass.
Cost and operations
This workflow uses standard GitHub-hosted runners for a public repository. The Linux jobs run on the standard Ubuntu runner and execute the official Swift Docker images. The macOS job uses the standard GitHub-hosted macOS runner. No larger runners, paid external CI service, persistent caches, or uploaded artifacts are used.
Validation
.github/workflows/ci.ymlas YAML locally.git diff --checksuccessfully.swift testlocally on macOS; both KituraCache tests passed.Notes
This is a CI migration, not a broader platform modernization. It restores a useful baseline signal without trying to recreate obsolete Travis/Xcode infrastructure.