QGIS/.github/workflows/flake8.yml
Nyall Dawson 9f8ecabb36 Revert "Remove other workflows temporarily"
This reverts commit 49962230dd1c87e0ef53e0ee900f89f9316512ca.
2021-03-22 14:34:44 +10:00

29 lines
568 B
YAML

name: ❄ Flake8
on:
push:
paths:
- '**.py'
pull_request:
paths:
- '**.py'
jobs:
flake8_py3:
name: Python Lint
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v2.2.1
with:
python-version: 3.7
architecture: x64
- name: Checkout
uses: actions/checkout@v2
- name: Run flake8
uses: julianwachholz/flake8-action@v1.1.0
with:
checkName: 'Python Lint'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}