Skip to content

Commit ab959f4

Browse files
Add linting workflow
1 parent bf5dd15 commit ab959f4

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/linter.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Lint
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
lint:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v3
12+
13+
- name: Setup Python
14+
uses: actions/setup-python@v3
15+
16+
- name: Lint
17+
uses: pre-commit/[email protected]
18+
19+
- name: Generate Suggestions
20+
if: ${{ failure() }}
21+
uses: reviewdog/[email protected]
22+
with:
23+
tool_name: Linter

0 commit comments

Comments
 (0)