name: Lint on: [push, pull_request] jobs: build: runs-on: ubuntu-latest strategy: matrix: python: [3.7] name: Python ${{ matrix.python }} steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@v1 with: python-version: ${{ matrix.python }} - name: Install dependencies run: | python -m pip install --upgrade pip python -m pip install --upgrade tox - name: Lint run: tox -e lint