Conversation
There was a problem hiding this comment.
Pull request overview
Adds SwiftPM build artifact caching to the Linux CI job to reduce repeated dependency/build work between runs, which should cut down CI time as the dependency graph grows (e.g., via transitive SwiftNIO/AsyncHTTPClient).
Changes:
- Add an
actions/cachestep that caches the SwiftPM.builddirectory on Linux. - Key the cache by OS and a hash of package manifest inputs, with a prefix fallback restore key.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Didn't notice until just now that we're not caching intermediate build output between CI runs. Especially since we brought in SwiftNIO / AsyncHTTPClient as a transitive dependency for Xet downloads, this adds an extra minute or two to each run.