Skip to content

Commit 6573379

Browse files
committed
Try caching pre-commit install and bump cache - change dir
1 parent 48fa433 commit 6573379

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/actions/restore-venv/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ runs:
4343
shell: bash
4444
run: |
4545
. venv/bin/activate
46-
PRE_COMMIT_HOME=${{ inputs.precommit-home}} pre-commit install-hooks
46+
pre-commit install-hooks
4747
- name: Save cache if (purposely) created
4848
if: ${{ inputs.fail-on-miss == 'false' && steps.cache-create.outputs.cache-hit != 'true' }}
4949
uses: actions/cache/save@v4

.github/workflows/verify.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
name: Latest commit
55

66
env:
7-
CACHE_VERSION: 4
7+
CACHE_VERSION: 5
88
DEFAULT_PYTHON: "3.13"
9-
PRE_COMMIT_HOME: ~/.cache/pre-commit
9+
PRE_COMMIT_HOME: ${{ github.workspace }}/.cache/pre-commit
1010
VENV: venv
1111

1212
on:

0 commit comments

Comments
 (0)