Add GitHub Actions CI workflows for code quality#13
Merged
timurcarstensen merged 9 commits intomainfrom Aug 1, 2025
Merged
Conversation
- Add main CI workflow with Ruff for formatting and linting - Add pre-commit workflow for automated checks - Configure Ruff in pyproject.toml for consistent code style - Add .pre-commit-config.yaml for local pre-commit hooks - Include YAML and shell script linting - Support Python 3.8-3.11 in CI matrix
- Remove matrix strategy, use single Python 3.12 version - Update all workflows to use Python 3.12 consistently
- Replace pip with uv for all dependency installations - Use uv venv and uv run for consistent environment management - Significant speed improvements expected in CI runs
- Replace uv venv/pip install with uvx for direct tool execution - Eliminates unnecessary virtual environment creation - Faster CI runs by avoiding full dependency installation - Uses uvx ruff, uvx mypy, uvx yamllint directly
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds GitHub Actions workflows to enforce code quality standards across the project.
Changes
Main CI workflow (
.github/workflows/ci.yml)Pre-commit workflow (
.github/workflows/pre-commit.yml)Ruff configuration in
pyproject.tomlPre-commit configuration (
.pre-commit-config.yaml)Benefits
Testing
The workflows will run automatically once this PR is merged. Contributors can also run
pre-commit installlocally to get instant feedback before pushing.