mirror of
https://github.com/django-polymorphic/django-polymorphic.git
synced 2026-03-11 06:42:41 +03:00
24 lines
418 B
YAML
24 lines
418 B
YAML
name: Lint
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
flake8-lint:
|
|
runs-on: ubuntu-latest
|
|
name: flake8 Lint
|
|
|
|
steps:
|
|
- name: Check out source repository
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up Python environment
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: "3.10"
|
|
|
|
- name: Install flake8
|
|
run: pip install flake8
|
|
|
|
- name: Run flake8
|
|
run: flake8 .
|