Skip to content

Bump actions/checkout from 4.1.1 to 4.1.4 (#3) #26

Bump actions/checkout from 4.1.1 to 4.1.4 (#3)

Bump actions/checkout from 4.1.1 to 4.1.4 (#3) #26

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@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1
with:
egress-policy: audit
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.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