Skip to content

Conversation

@lukekim
Copy link
Collaborator

@lukekim lukekim commented Oct 20, 2025

This pull request updates the .github/workflows/pr.yaml file to improve CI efficiency and reliability, mainly by introducing caching for Rust and Python dependencies and streamlining the Python build and test steps. The most important changes are grouped below.

Dependency Caching Improvements:

  • Added a step to cache Rust dependencies using Swatinem/rust-cache@v2 in all relevant job sections to speed up Rust builds. [1] [2] [3]
  • Enhanced Python dependency caching by configuring setup-uv to use a cache for dependencies and specifying a cache glob for python/pyproject.toml.

Build and Test Workflow Streamlining:

  • Combined Python package build and test steps into a single job, running maturin develop in release mode and then executing tests with pytest, simplifying the workflow and ensuring tests run against the built package.

@lukekim lukekim self-assigned this Oct 20, 2025
@lukekim lukekim added the dependencies Pull requests that update a dependency file label Oct 20, 2025
@lukekim lukekim merged commit 6159f97 into main Oct 20, 2025
10 checks passed
@lukekim lukekim deleted the lukim/python-actions branch October 20, 2025 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants