mirror of
https://github.com/miaowware/qrm2.git
synced 2024-11-22 15:58:40 -05:00
2c11dad358
Should now run on PR
22 lines
548 B
YAML
22 lines
548 B
YAML
name: Linting
|
|
|
|
on: [push,pull_request]
|
|
|
|
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 }}
|