Skip to content

Commit 86987d7

Browse files
Merge pull request #14 from serpapi/add-github-actions-python-formatting-ci
Add Python CI formatting check
2 parents 61bc39b + ab94e89 commit 86987d7

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/format_check.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Format Check
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
7+
jobs:
8+
formatting:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Check out repository
13+
uses: actions/checkout@v4
14+
15+
- name: Install uv
16+
uses: astral-sh/setup-uv@v1
17+
with:
18+
version: "latest"
19+
20+
- name: Run uv format check
21+
run: uv format --check

0 commit comments

Comments
 (0)