Skip to content

Conversation

@mmcky
Copy link
Contributor

@mmcky mmcky commented Nov 7, 2025

Migration to QuantEcon Composite Actions

This PR migrates workflows to use the new composite actions from quantecon/actions.

Phase 1: ✅ cache.yml

  • Replace conda setup with (includes automatic caching)
  • Replace manual LaTeX install with (includes workflow-based caching)
  • Replace manual jb build with (includes execution caching)

Benefits:

  • 🚀 Automatic caching at every step
  • 📦 Cleaner, more maintainable workflows
  • 🔄 Reusable patterns across all lecture repos
  • ⏱️ Expected time savings: 8-12 minutes per run (with cache)

Testing Status:

  • cache.yml - Ready to test
  • ci.yml - Pending
  • publish.yml - Pending

Next Steps:

  1. Test cache.yml workflow
  2. Migrate ci.yml
  3. Migrate publish.yml
  4. Validate full build and deployment cycle

- Replace conda-incubator/setup-miniconda with quantecon/actions/setup-lecture-env
- Replace manual LaTeX installation with quantecon/actions/setup-latex
- Replace manual jb build with quantecon/actions/build-lectures
- Benefits: Automatic caching, cleaner workflow, reusable patterns
@netlify
Copy link

netlify bot commented Nov 7, 2025

Deploy Preview for jade-tarsier-d98a19 ready!

Name Link
🔨 Latest commit 9ac3d43
🔍 Latest deploy log https://app.netlify.com/projects/jade-tarsier-d98a19/deploys/690d714e15acd10008717329
😎 Deploy Preview https://deploy-preview-2--jade-tarsier-d98a19.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions
Copy link

github-actions bot commented Nov 7, 2025

@github-actions github-actions bot temporarily deployed to pull request November 7, 2025 03:59 Inactive
mmcky added 2 commits November 7, 2025 15:09
The setup-lecture-env action hardcodes 'quantecon' as the environment name,
so this parameter is not needed and was causing a warning.
- Replace conda setup with setup-lecture-env
- Replace manual LaTeX install with setup-latex
- Replace manual jb builds with build-lectures (PDF, Jupyter, HTML)
- Replace manual Netlify deploy with deploy-netlify
- Benefits: Automatic caching, cleaner workflow, consistent with cache.yml
@github-actions
Copy link

github-actions bot commented Nov 7, 2025

🔍 Preview Deployment

Deployed successfully!

🔗 Preview URL: https://690d7358f7e815f4ed39d654--jade-tarsier-d98a19.netlify.app
📊 Logs: https://app.netlify.com/projects/jade-tarsier-d98a19/deploys/690d7358f7e815f4ed39d654


Build Info:

@mmcky
Copy link
Contributor Author

mmcky commented Nov 7, 2025

Closing to restart with focused approach: cache migration first, then CI workflows

@mmcky mmcky closed this Nov 7, 2025
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.

2 participants