QGIS/.github/workflows/flake8.yml
2020-06-25 08:04:03 +02:00

23 lines
503 B
YAML

name: flake8
on: [push, pull_request]
jobs:
flake8_py3:
name: Python Lint
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.7
architecture: x64
- name: Checkout
uses: actions/checkout@v2
- name: Run flake8
uses: julianwachholz/flake8-action@v1.0.0
with:
checkName: 'Python Lint'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}