Skip to content

Bump step-security/harden-runner from 2.9.0 to 2.9.1 (#12) #53

Bump step-security/harden-runner from 2.9.0 to 2.9.1 (#12)

Bump step-security/harden-runner from 2.9.0 to 2.9.1 (#12) #53

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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
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