-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Cache swift packages - WPB-9913 #1991
base: develop
Are you sure you want to change the base?
Conversation
Test Results327 tests 327 ✅ 29s ⏱️ Results for commit 3e8c522. ♻️ This comment has been updated with latest results. |
Co-authored-by: François Benaiteau <[email protected]>
Co-authored-by: François Benaiteau <[email protected]>
Co-authored-by: François Benaiteau <[email protected]>
id: cache-scripts-package | ||
with: | ||
path: scripts/.build | ||
key: ${{ runner.os }}-swiftpm-scripts-${{ hashFiles('scripts/Package.resolved') }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the key here is macOS-swiftpm-scripts-
id: cache-sourceryPlugin-package | ||
with: | ||
path: SourceryPlugin/.build | ||
key: ${{ runner.os }}-swiftpm-sourcery-${{ hashFiles('SourceryPlugin/Package.resolved') }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the key here is macOS-swiftpm-sourcery-
Issue
As we adding more and more swift packages the CI should cache (them similar to Carthage) instead of downloading all packages every time.
Solution
Add steps to the workflow (similar to the Carthage) to cash and Bootstrap swift packages.
Testing
Checklist
[WPB-XXX]
.UI accessibility checklist
If your PR includes UI changes, please utilize this checklist: