Merge branch 'staging' #1391
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
push: | |
branches: | |
- master | |
- staging | |
pull_request: | |
branches: | |
- master | |
- staging | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.8' | |
cache: 'pipenv' | |
- name: Set up pipenv | |
run: python -m pip install --upgrade pipenv wheel | |
- name: Install requirements | |
run: pipenv install --deploy --dev | |
- name: Run flake8 | |
run: pipenv run flake8 . |