Skip to content

ci: use uv with caching for faster CI builds#12

Merged
shaia merged 2 commits intomasterfrom
chore/modernize-ci-uv
Dec 5, 2025
Merged

ci: use uv with caching for faster CI builds#12
shaia merged 2 commits intomasterfrom
chore/modernize-ci-uv

Conversation

@shaia
Copy link
Copy Markdown
Owner

@shaia shaia commented Dec 5, 2025

  • Replace pip with uv in GitHub Actions workflow
  • Enable uv cache for faster subsequent builds
  • Add uv.lock for reproducible dependency resolution

- Replace pip with uv in GitHub Actions workflow
- Enable uv cache for faster subsequent builds
- Add uv.lock for reproducible dependency resolution
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR modernizes the CI workflow by migrating from pip to uv, a faster Python package manager. The changes enable dependency caching and leverage uv's improved performance for quicker CI builds. The uv.lock file ensures reproducible dependency resolution across all environments.

Key Changes:

  • Integrated astral-sh/setup-uv@v4 action with caching enabled in both build and test jobs
  • Replaced all pip install commands with uv pip install --system for consistent package management
  • Added uv.lock file for deterministic dependency resolution

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

The setup-uv action defaults to looking for uv.lock which may not
exist at checkout time. Use pyproject.toml for build job and empty
glob for test job (only installs pytest/numpy).
@shaia shaia merged commit 2bb707c into master Dec 5, 2025
9 checks passed
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