Skip to content

Commit e66d614

Browse files
authored
Create lint.yml
1 parent 1654d2f commit e66d614

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/lint.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: 💅 Lint
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: Set up Python 3.8
12+
uses: actions/setup-python@v2
13+
with:
14+
python-version: 3.8
15+
- name: Install dependencies
16+
run: |
17+
python -m pip install --upgrade pip
18+
pip install tox
19+
- name: Run lint
20+
run: tox
21+
env:
22+
TOXENV: pre-commit
23+
- name: Run mypy
24+
run: tox
25+
env:
26+
TOXENV: mypy

0 commit comments

Comments
 (0)