Skip to content

Commit 7941f29

Browse files
committed
👷 Tweak pre-commit config in CI
1 parent 9956b82 commit 7941f29

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/pre-commit.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77
- synchronize
88

99
env:
10-
UV_SYSTEM_PYTHON: 1
1110
IS_FORK: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
1211

1312
jobs:
@@ -41,6 +40,10 @@ jobs:
4140
requirements**.txt
4241
pyproject.toml
4342
uv.lock
43+
- name: Install Dependencies
44+
run: |
45+
uv venv
46+
uv pip install -r requirements.txt
4447
- name: Run pre-commit
4548
id: precommit
4649
run: |
@@ -69,7 +72,7 @@ jobs:
6972
run: exit 1
7073

7174
# https://github.com/marketplace/actions/alls-green#why
72-
alls-green: # This job does nothing and is only used for the branch protection
75+
pre-commit-alls-green: # This job does nothing and is only used for the branch protection
7376
if: always()
7477
needs:
7578
- pre-commit

0 commit comments

Comments
 (0)