Skip to content

Commit 3505708

Browse files
committed
Add precommit workflow
1 parent f5c81a7 commit 3505708

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/precommit.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: PreCommit
2+
3+
permissions:
4+
contents: read
5+
6+
on:
7+
push:
8+
pull_request:
9+
workflow_dispatch:
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout Code
17+
uses: actions/checkout@v5
18+
19+
- name: Setup python
20+
uses: actions/setup-python@v6
21+
22+
- name: Run pre-commit
23+
uses: pre-commit/action@v3.0.1

0 commit comments

Comments
 (0)