-
Notifications
You must be signed in to change notification settings - Fork 0
fix(ci): use just commands in CI and release workflows #57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,6 +1,6 @@ | ||||||
| # Install dependencies and pre-commit hooks | ||||||
| install: | ||||||
| uv sync --all-extras | ||||||
| install *extras: | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P2: Default behavior change: Or document that developers must now explicitly run Prompt for AI agentsinstall *extras='--all-extras':
Suggested change
|
||||||
| uv sync {{ extras }} | ||||||
|
|
||||||
| # Run ruff linting | ||||||
| lint: | ||||||
|
|
@@ -25,3 +25,15 @@ test-examples: | |||||
| # Run type checking | ||||||
| mypy: | ||||||
| uv run mypy stackone_ai | ||||||
|
|
||||||
| # Update version in __init__.py | ||||||
| update-version: | ||||||
| uv run scripts/update_version.py | ||||||
|
|
||||||
| # Build package | ||||||
| build: | ||||||
| uv build | ||||||
|
|
||||||
| # Publish package to PyPI | ||||||
| publish: | ||||||
| uv publish | ||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
installcommand now requires explicit arguments, which breaks backwards compatibility. When called without arguments (e.g.,just install), it will runuv syncwith no extras, whereas previously it would install all extras.Consider providing a default value to maintain backwards compatibility:
This allows the CI to override with different extras while maintaining sensible defaults for local development.