Skip to content

Commit ef335b7

Browse files
Add linting workflow
1 parent 4e88d6f commit ef335b7

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/actions@v3.0.1
18+
19+
- name: Generate Suggestions
20+
if: ${{ failure() }}
21+
uses: reviewdog/action-suggester@v1.21.0
22+
with:
23+
tool_name: Linter

0 commit comments

Comments
 (0)