Apply suggestions from code review #21
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: "clp-docs" | |
on: | |
pull_request: | |
push: | |
workflow_dispatch: | |
concurrency: | |
group: "${{github.workflow}}-${{github.ref}}" | |
# Cancel in-progress jobs for efficiency | |
cancel-in-progress: true | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: ["macos-latest", "ubuntu-latest"] | |
runs-on: "${{matrix.os}}" | |
steps: | |
- uses: "actions/checkout@v4" | |
with: | |
submodules: "recursive" | |
- uses: "actions/setup-python@v5" | |
with: | |
python-version: "3.10" | |
- name: "Install task" | |
shell: "bash" | |
run: "npm install -g @go-task/cli" | |
- if: "matrix.os == 'macos-latest'" | |
name: "Install coreutils (for md5sum)" | |
run: "brew install coreutils" | |
- name: "Build docs" | |
shell: "bash" | |
run: "task docs:site" |