mirror of
https://github.com/civsocit/olgram.git
synced 2023-07-22 01:29:12 +03:00
26 lines
508 B
YAML
26 lines
508 B
YAML
name: Linter
|
|
|
|
on: push
|
|
|
|
env:
|
|
PYTHONUNBUFFERED: 1
|
|
POETRY_VERSION: 1.1.2
|
|
POETRY_VIRTUALENVS_CREATE: "false"
|
|
|
|
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: flake8 .
|