Skip to content

Lint

Lint #642

Workflow file for this run

name: Lint
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: "0 12 * * 6"
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
with:
submodules: "true"
- name: Set up Python 3.11
uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435
with:
python-version: "3.11"
- name: install prerequisites
run: |
python -m pip install --upgrade pip wheel
python -m pip install -r ./python/base-requirements/nox.txt
- name: Lint markup
run: python -m nox -s verify-markup
- name: Check spelling
run: python -m nox -s spell-check
- name: Lint with flake8
run: python -m nox -s flake8