Skip to content

Commit e7e421c

Browse files
[PSDK-529] GHA for Linting
1 parent 963e90d commit e7e421c

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

.github/pull_request_template.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
### What changed? Why?
2+
3+
4+
#### Qualified Impact
5+
<!-- Please evaluate what components could be affected and what the impact would be if there was an
6+
error. How would this error be resolved, e.g. rollback a deploy, push a new fix, disable a feature
7+
flag, etc... -->

.github/workflows/lint.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Lint
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
lint:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v3
11+
12+
- name: Set up Python
13+
uses: actions/setup-python@v4
14+
with:
15+
python-version: '3.10'
16+
17+
- name: Install Dependencies
18+
run: |
19+
pip install --upgrade pip
20+
pip install .[dev]
21+
22+
- name: Lint
23+
run: make lint

0 commit comments

Comments
 (0)