Skip to content

Bump actions/checkout from 4.1.7 to 4.2.0 #60

Bump actions/checkout from 4.1.7 to 4.2.0

Bump actions/checkout from 4.1.7 to 4.2.0 #60

Workflow file for this run

name: Style Check
on: [push, pull_request]
permissions:
contents: read
jobs:
python-style-check:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
with:
egress-policy: audit
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: '3.11'
- name: Install dependencies
run: |
pip install --upgrade pip
pip install ".[dev]"
- name: Run isort
run: isort --diff --check sphinxcontrib tests
- name: Run yapf
run: yapf --diff --recursive sphinxcontrib tests
- name: Run mypy
run: mypy sphinxcontrib tests
- name: Run flake8
run: flake8 sphinxcontrib tests