Skip to content

Commit bdf21b4

Browse files
committed
Attempt to improve pre-commit environment restore (and fix duplicate and typos)
1 parent 2b5f3bc commit bdf21b4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/verify.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,8 @@ jobs:
102102
- name: Fail job if cache restore failed
103103
if: steps.cache-venv.outputs.cache-hit != 'true'
104104
run: |
105-
echo "Failed to restore Python ${{ env.DEFAULT_PYTHON }} virtual environment from cache"
105+
echo "Failed to restore pre-commit environment from cache"
106106
exit 1
107-
- name: Install dependencies
108-
run: |
109-
. venv/bin/activate
110-
if [ -f requirements_commit.txt ]; then pip install -r requirements_commit.txt; fi
111107
- name: Verify commit
112108
run: |
113109
. venv/bin/activate

0 commit comments

Comments
 (0)