Skip to content

Commit 7e6dd91

Browse files
committed
add new workflow for style checks.
1 parent 3b57b2a commit 7e6dd91

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/style.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Style Check
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
style:
13+
name: Style Check
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: astral-sh/setup-uv@v3
18+
- name: Install Python
19+
run: uv python install 3.11
20+
- name: Check style
21+
run: uv run --extra dev black --check --diff .

0 commit comments

Comments
 (0)