Skip to content

Ch20: In Praise of Inequalities #270

Ch20: In Praise of Inequalities

Ch20: In Praise of Inequalities #270

Workflow file for this run

name: Compile blueprint
on:
push:
branches:
- main
paths-ignore:
- 'README.md'
- 'CONTRIBUTING.md'
- 'LICENSE'
- 'scripts/**'
pull_request:
branches:
- main
paths-ignore:
- 'README.md'
- 'CONTRIBUTING.md'
- 'LICENSE'
- 'scripts/**'
workflow_dispatch: # Allow manual triggering of the workflow from the GitHub Actions interface
# Cancel previous runs if a new commit is pushed to the same PR or branch
concurrency:
group: ${{ github.ref }} # Group runs by the ref (branch or PR)
cancel-in-progress: true # Cancel any ongoing runs in the same group
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages and modify PR labels
permissions:
contents: read # Read access to repository contents
pages: write # Write access to GitHub Pages
id-token: write # Write access to ID tokens
jobs:
build_project:
runs-on: ubuntu-latest
name: Build project
steps:
- name: Checkout project
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0 # Fetch all history for all branches and tags
- name: Build and lint the project.
id: build-lean
uses: leanprover/lean-action@c544e89643240c6b398f14a431bcdc6309e36b3e # v1.4.0
- name: Cleanup to free disk space
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
android: true # saves approximately 12 GB
dotnet: false
haskell: false
large-packages: false
docker-images: false
swap-storage: false
- name: Compile blueprint and documentation
uses: leanprover-community/docgen-action@1417dc7f90338c875da5e5870c03a287d8348896 # docgen-action#11
with:
blueprint: true
homepage: home_page