Skip to content

Fix macOS version

Fix macOS version #9

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@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- 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