Skip to content

Commit 441c157

Browse files
committed
chore: add pre-commit workflow
1 parent 1922f1a commit 441c157

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/pre-commit.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: "pre-commit"
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
pre-commit:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: ./.github/actions/setup
14+
- name: Install pre-commit
15+
run: uv pip install pre-commit
16+
- name: Run pre-commit
17+
run: |
18+
source .venv/bin/activate
19+
pre-commit run --all-files

0 commit comments

Comments
 (0)