Skip to content

Commit 48fa433

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

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 install-hooks
46+
PRE_COMMIT_HOME=${{ inputs.precommit-home}} 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,7 +4,7 @@
44
name: Latest commit
55

66
env:
7-
CACHE_VERSION: 3
7+
CACHE_VERSION: 4
88
DEFAULT_PYTHON: "3.13"
99
PRE_COMMIT_HOME: ~/.cache/pre-commit
1010
VENV: venv
@@ -297,7 +297,7 @@ jobs:
297297
- name: Install pypa/build
298298
run: |
299299
. venv/bin/activate
300-
uv pip install build --user
300+
uv pip install build
301301
- name: Build a binary wheel and a source tarball
302302
run: |
303303
. venv/bin/activate

0 commit comments

Comments
 (0)