Skip to content
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

[FEAT]: Add pre-commit cache to _reusable-test-code.yml #10

Closed
nfelt14 opened this issue Aug 22, 2024 · 0 comments · Fixed by #16
Closed

[FEAT]: Add pre-commit cache to _reusable-test-code.yml #10

nfelt14 opened this issue Aug 22, 2024 · 0 comments · Fixed by #16
Assignees
Labels
enhancement New feature or request gh-actions good first issue Good for newcomers

Comments

@nfelt14
Copy link
Collaborator

nfelt14 commented Aug 22, 2024

Description

It could be nice to have a pre-commit cache so that pre-commit can run faster as a part of any test-code.yml workflows.

Additional Information

It could be as simple as adding this step before running tox:

- uses: actions/cache@v4
  with:
    path: ~/.cache/pre-commit
    key: pre-commit|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
@nfelt14 nfelt14 added enhancement New feature or request gh-actions good first issue Good for newcomers labels Aug 22, 2024
@nfelt14 nfelt14 self-assigned this Aug 27, 2024
@nfelt14 nfelt14 linked a pull request Aug 27, 2024 that will close this issue
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gh-actions good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant