Skip to content

Commit 1661650

Browse files
committed
add ruff lint check workflow
1 parent 5236e83 commit 1661650

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/ruff.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Lint and format check
2+
# For dev branch on private repo, only test on PR, not triggered for draft PR
3+
4+
name: Ruff
5+
on:
6+
push:
7+
branches: [ "main" ]
8+
pull_request:
9+
branches: [ "main", "dev" ]
10+
jobs:
11+
ruff:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: astral-sh/ruff-action@v3

0 commit comments

Comments
 (0)