Skip to content

Add setup actions for Python environment and refactor CI workflow#6

Merged
javidahmed64592 merged 1 commit intomainfrom
update-workflows
Dec 7, 2025
Merged

Add setup actions for Python environment and refactor CI workflow#6
javidahmed64592 merged 1 commit intomainfrom
update-workflows

Conversation

@javidahmed64592
Copy link
Copy Markdown
Owner

This pull request refactors the Python setup steps in the GitHub Actions workflows by introducing reusable composite actions for setting up Python environments with core and development dependencies. This makes the CI configuration cleaner and more maintainable.

Workflow refactoring for Python environment setup:

  • Introduced a new composite action setup-python-core to set up Python with core dependencies using uv (.github/actions/setup-python-core/action.yml).
  • Introduced a new composite action setup-python-dev to set up Python with development dependencies using uv (.github/actions/setup-python-dev/action.yml).

CI workflow improvements:

  • Updated the main CI workflow (.github/workflows/ci.yml) to replace repeated Python setup steps with the new setup-python-dev composite action for all relevant jobs, reducing duplication and improving readability.
  • Updated the version consistency check in the CI workflow to use the new composite action and fixed the package name handling in the version check script.

@javidahmed64592 javidahmed64592 merged commit 5990fc4 into main Dec 7, 2025
5 checks passed
@javidahmed64592 javidahmed64592 deleted the update-workflows branch December 7, 2025 02:18
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