Skip to content

Commit 5150dd1

Browse files
committed
ci: add pre-commit job
1 parent 950095c commit 5150dd1

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,20 @@ jobs:
4646
with:
4747
name: coverage-report
4848
path: .coverage
49+
50+
pre-commit:
51+
name: "Pre-commit"
52+
runs-on: ubuntu-latest
53+
54+
steps:
55+
- uses: actions/checkout@v7
56+
57+
- uses: actions/setup-python@v7
58+
with:
59+
python-version: "3.12"
60+
61+
- name: Install pre-commit
62+
run: pip install pre-commit
63+
64+
- name: Run pre-commit hooks
65+
run: pre-commit run --all-files

0 commit comments

Comments
 (0)