This pull request includes significant updates to the GitHub Actions workflow for the Python package. The changes focus on splitting the workflow into separate jobs for formatting, linting, and building, as well as updating dependencies and configurations.
Workflow Improvements:
.github/workflows/python-package.yml: Split the workflow into three separate jobs: format, lint, and build, to improve clarity and maintainability.
.github/workflows/python-package.yml: Updated the setup-python action to version 5 for all jobs to ensure compatibility with the latest features and improvements.
.github/workflows/python-package.yml: Retained the build job with necessary steps for setting up the environment, installing dependencies, and building the project. [1][2]
This pull request includes significant updates to the GitHub Actions workflow for the Python package. The changes focus on splitting the workflow into separate jobs for formatting, linting, and building, as well as updating dependencies and configurations.
Workflow Improvements:
.github/workflows/python-package.yml
: Split the workflow into three separate jobs:format
,lint
, andbuild
, to improve clarity and maintainability..github/workflows/python-package.yml
: Updated thesetup-python
action to version 5 for all jobs to ensure compatibility with the latest features and improvements.Dependency Management:
.github/workflows/python-package.yml
: Added steps to installruff
for both formatting and linting checks, ensuring consistent code style and quality. [1] [2]Build Configuration:
.github/workflows/python-package.yml
: Retained thebuild
job with necessary steps for setting up the environment, installing dependencies, and building the project. [1] [2]Testing:
.github/workflows/python-package.yml
: Ensured that thebuild
job includes a step for running tests withpytest
to validate the code changes.