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