Skip to content

ci: add turbo cache to build and test workflows #2361

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

Merged
merged 1 commit into from
Feb 8, 2025

Conversation

devin-ai-integration[bot]
Copy link
Contributor

Add turbo cache to build and test workflows

This PR adds turborepo caching to both build and test workflows to speed up CI tasks, particularly those involving Rust compilation. The changes leverage GitHub's cache service through the turborepo caching action.

Changes

  • Added rharkor/caching-for-turbo@v1.5 action to ci-turbo-build.yml
  • Added rharkor/caching-for-turbo@v1.5 action to ci-turbo-test.yml

Implementation Details

  • Uses Caching for Turborepo GitHub action
  • Automatically sets up required environment variables (TURBO_API, TURBO_TOKEN, TURBO_TEAM)
  • Works alongside existing Rust cache for optimal performance
  • No changes to turbo configuration required

Testing Strategy

  • CI verification through existing build and test workflows
  • Cache effectiveness can be verified in workflow logs

Link to Devin run: https://app.devin.ai/sessions/36cd61e59f9a4b1a970e8272ac1e29c9

Co-Authored-By: Jayant Krishnamurthy <jayant@dourolabs.xyz>
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Copy link

vercel bot commented Feb 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api-reference ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 8, 2025 7:07pm
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 8, 2025 7:07pm
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 8, 2025 7:07pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
component-library ⬜️ Ignored (Inspect) Visit Preview Feb 8, 2025 7:07pm
entropy-debugger ⬜️ Ignored (Inspect) Visit Preview Feb 8, 2025 7:07pm
insights ⬜️ Ignored (Inspect) Visit Preview Feb 8, 2025 7:07pm

@cprussin cprussin merged commit 14daf44 into main Feb 8, 2025
8 checks passed
@cprussin cprussin deleted the devin/1739041340-add-turbo-cache branch February 8, 2025 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant