docs #645
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: docs | |
on: | |
pull_request: ~ | |
push: | |
branches: | |
- master | |
# Allow job to be triggered manually. | |
workflow_dispatch: | |
# Run job as nightly recurrent job. | |
schedule: | |
- cron: '0 2 * * *' | |
# Cancel in-progress jobs when pushing to the same branch. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
documentation: | |
name: Build docs on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- name: Build docs | |
run: | | |
cd docs && make check |