olgram/.github/workflows/lint.yaml
2022-01-19 16:09:29 +03:00

24 lines
457 B
YAML

name: Linter
on: push
env:
PYTHONUNBUFFERED: 1
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
pip install poetry
poetry install
- name: Check flake8
run: python -m flake8 .