Update GH Actions CI Workflow (#684)

Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
This commit is contained in:
Otto Winter 2020-07-14 19:09:20 +02:00 committed by GitHub
parent c353bed9dd
commit df7e1c845d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 7 deletions

View File

@ -2,23 +2,22 @@ name: Lint
on:
push:
# On other branches the `pull_request` trigger will be used
branches: [current, next]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.6
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.6
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
run: pip install -r requirements.txt
- name: Lint
run: |
python travis.py