Skip to content

Pre-commit GitHub action doesn't require package installation #620

Open

Description

@hombit

The pre-commit hooks we run in Github Actions don't require the package to be installed, and installation could be an expensive operation. We can install development dependencies only instead, see example in hats-query

https://github.com/astronomy-commons/hats-query/blob/f8e38cedfc555149cf3e1583fa855c3f1e91a275/.github/workflows/pre-commit-ci.yml#L41

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions