Skip to content

Commit c8bbff2

Browse files
committed
ci: add pre-commit workflow
1 parent fd48676 commit c8bbff2

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/pre-commit.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Pre-commit
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
pre-commit:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v6
14+
- uses: actions/setup-python@v5
15+
with:
16+
python-version: "3.x"
17+
- uses: pre-commit/action@v3.0.1

0 commit comments

Comments
 (0)