Skip to content

Commit 1dcf3b7

Browse files
authored
Add GitHub action to automate linting (#6157)
1 parent e36f345 commit 1dcf3b7

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/lint.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Lint code
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
lint:
9+
runs-on: ubuntu-20.04
10+
11+
steps:
12+
- uses: actions/checkout@v3
13+
- name: Set up Python
14+
uses: actions/setup-python@v3
15+
- name: Run pre-commit
16+
uses: pre-commit/action@v3.0.0

0 commit comments

Comments
 (0)