Add a linter workflow to Github Actions

snyk-fix-a7c55a70785571b89a3356e1d875334d
Kevin Chung 2020-07-01 11:22:31 -04:00
parent 720b3657fb
commit 76837219b5
1 changed files with 29 additions and 0 deletions

29
.github/workflows/lint.yml vendored Normal file
View File

@ -0,0 +1,29 @@
---
name: Linting
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.6']
name: Linting
steps:
- uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r development.txt
- name: Lint
run: make lint