Skip to content

chore(ci): improve lint workflow with pre-commit caching #309

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

Merged
merged 1 commit into from
May 28, 2025

Conversation

mkoura
Copy link
Collaborator

@mkoura mkoura commented May 28, 2025

Refactor the repo_lint GitHub Actions workflow to:

  • Use Python 3.11 instead of 3.10.
  • Add caching for pre-commit hooks to speed up runs.
  • Install pre-commit hooks explicitly and show logs on failure.
  • Run pre-commit linters with color and diff output on failure.

These changes improve linting reliability and performance in CI.

Refactor the repo_lint GitHub Actions workflow to:
- Use Python 3.11 instead of 3.10.
- Add caching for pre-commit hooks to speed up runs.
- Install pre-commit hooks explicitly and show logs on failure.
- Run pre-commit linters with color and diff output on failure.

These changes improve linting reliability and performance in CI.
@mkoura mkoura merged commit 8bef979 into master May 28, 2025
1 check passed
@mkoura mkoura deleted the cached_precommit branch May 28, 2025 09: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