Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Replace prek GitHub Action with pre-commit.ci GitHub app for better performance #146317

Copy link
Copy link
@vivodi

Description

@vivodi
Issue body actions

After seeing the discussions in #143148 Replace pre-commit with prek for faster linting and #143149 Replace pre-commit with prek in CI about replacing pre-commit with prek in GitHub Actions, I believe using the the pre-commit.ci GitHub app directly would be significantly faster than both.

The Problem:
Running prek within GitHub Actions is currently slow because it lacks persistent caching. This forces the CI to re-download and reinstall all hooks from scratch on every run.

The Solution:
By switching to the pre-commit.ci GitHub app, we can significantly speed up the process. The app caches environments efficiently, meaning it only spends time executing the hooks rather than downloading and installing them. This would provide much faster feedback on pull requests compared to the current setup.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.