Use ruff version from uv.lock in CI#638
Conversation
WalkthroughThe GitHub Actions CI workflow is updated to modernize the Python development environment setup. The python-lint job is configured to depend on prepare-environment. The existing Python setup and ruff installation approach is replaced with an approach that uses actions/setup-python@v6 with Python 3.12 and astral-sh/setup-uv@v4 for UV installation. UV version is sourced from prepare-environment outputs. A new step installs lint dependencies via Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Deploying infrahub-sdk-python with
|
| Latest commit: |
fe3e57a
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://8a2e9d30.infrahub-sdk-python.pages.dev |
| Branch Preview URL: | https://pog-ruff-version-from-uvlock.infrahub-sdk-python.pages.dev |
3f80878 to
fe3e57a
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## infrahub-develop #638 +/- ##
=================================================
Coverage 75.56% 75.56%
=================================================
Files 113 113
Lines 9514 9514
Branches 1448 1448
=================================================
Hits 7189 7189
Misses 1838 1838
Partials 487 487
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Update CI pipeline to use the ruff version from the lock file instead of having to update the CI each time uv is updated.
Summary by CodeRabbit