Skip to content

Commit 4b65b14

Browse files
committed
actions: Add pre-commit hooks testing
Signed-off-by: Stephen Brennan <[email protected]>
1 parent 14483eb commit 4b65b14

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/litevm.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@ on:
77
pull_request:
88

99
jobs:
10+
commit-hooks:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-python@v4
15+
name: Set up Python
16+
with:
17+
python-version: '3.x'
18+
- name: Install pre-commit
19+
run: pip install pre-commit
20+
- name: Run pre-commit hooks
21+
run: pre-commit run --all-files --show-diff-on-failure
1022
test:
1123
runs-on: ubuntu-20.04
1224
strategy:

0 commit comments

Comments
 (0)