Dockerfile #87
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linter, formatter, and docs checks | |
on: [pull_request] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, 'CI Bot')" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
cache: "pip" | |
- name: Install package and dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install ruff | |
python -m pip install .[docs] | |
- name: Run linter and formatter checks using ruff | |
run: make checks | |
- name: Run HTML builder for Sphinx documentation | |
run: make docs |