Skip to content

Commit

Permalink
πŸ§ͺπŸ’… Pre-fetch pre-commit hooks via tox exec
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Oct 13, 2024
1 parent 5f43b2e commit 378a215
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/reusable-tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,13 @@ jobs:
- name: Initialize pre-commit envs if needed
if: inputs.toxenv == 'pre-commit'
run: >-
.tox/${{ inputs.toxenv }}/bin/python -Im pre_commit install-hooks
python -Im
tox
exec
--skip-pkg-install
--quiet
--
python -Im pre_commit install-hooks
- name: >-
Run tox envs: `${{ env.TOXENV }}`
id: tox-run
Expand Down

0 comments on commit 378a215

Please sign in to comment.