olgram/.github/workflows/lint.yaml

26 lines
508 B
YAML
Raw Normal View History

2021-09-09 10:58:33 +03:00
name: Linter
on: push
env:
PYTHONUNBUFFERED: 1
2022-01-19 16:15:03 +03:00
POETRY_VERSION: 1.1.2
POETRY_VIRTUALENVS_CREATE: "false"
2021-09-09 10:58:33 +03:00
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
2022-01-19 16:09:29 +03:00
pip install poetry
poetry install
2021-09-09 10:58:33 +03:00
- name: Check flake8
2022-01-19 16:12:43 +03:00
run: flake8 .