Added flake8 action

- Let's see how it goes
This commit is contained in:
0x5c 2019-10-18 15:53:30 -04:00 committed by GitHub
parent 6de73ac319
commit f1681a4e69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

21
linting.yml Normal file
View File

@ -0,0 +1,21 @@
name: CI
on: [push]
jobs:
flake8_py3:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v1
with:
python-version: 3.7
architecture: x64
- name: Install flake8
run: pip install flake8
- name: Run flake8
uses: suo/flake8-github-action@releases/v1
with:
checkName: 'flake8_py3' # NOTE: this needs to be the same as the job name
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}