Skip to content

Commit 631d055

Browse files
authored
feat: lint workflow (#926)
1 parent d97b26c commit 631d055

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/lint.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Lint
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
lint:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout code
10+
uses: actions/checkout@v4
11+
12+
- name: Set up Python
13+
uses: actions/setup-python@v5
14+
with:
15+
python-version: '3.13'
16+
17+
- name: Install pre-commit
18+
run: |
19+
python -m pip install --upgrade pip
20+
pip install pre-commit
21+
22+
- name: Run pre-commit
23+
run: pre-commit run --all-files

0 commit comments

Comments
 (0)