Skip to content

Update dependency sphinx to v7 - abandoned #1040

Update dependency sphinx to v7 - abandoned

Update dependency sphinx to v7 - abandoned #1040

Workflow file for this run

name: Run linters
on:
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot'
strategy:
matrix:
python-version: [3.5, 3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v3.5.3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v3.3.1
id: pip-cache
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-${{ matrix.python-version }}-
- name: Install dependencies
run: |
pip install -U pip
pip install flake8==3.8.4
- name: Install black
if: ${{ matrix.python-version != '3.5' }}
run: |
pip install black
- name: Run Lint
uses: wearerequired/lint-action@v2.3.0
with:
github_token: ${{ secrets.github_token }}
black: ${{ matrix.python-version != '3.5' }}
flake8: true
git_email: "github-action[bot]@github.com"
auto_fix: ${{ matrix.python-version != '3.5' }}